Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008313/0.008313, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5109, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005881/0.5168, allocations: 4.088 MB / 0.5877 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1826/0.6995, allocations: 146.7 MB / 0.7309 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.7007, allocations: 23.88 kB / 0.7309 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008333/0.7016, allocations: 150.8 kB / 0.7311 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.7035, allocations: 413 kB / 0.7315 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.7057, allocations: 0.7138 MB / 0.7322 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.7075, allocations: 1.226 MB / 0.7334 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.7094, allocations: 0.8612 MB / 0.7342 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.7105, allocations: 354 kB / 0.7345 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.7116, allocations: 393.5 kB / 0.7349 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.7118, allocations: 20 kB / 0.7349 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.7132, allocations: 371.6 kB / 0.7353 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.7136, allocations: 195 kB / 0.7355 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.7142, allocations: 0.5022 MB / 0.736 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.7165, allocations: 1.67 MB / 0.7376 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7165, allocations: 0 / 0.7376 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7165, allocations: 0 / 0.7376 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.7166, allocations: 0 / 0.7376 GB, free: 2.227 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002766/0.7193, allocations: 1.331 MB / 0.7389 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7194, allocations: 8.031 kB / 0.7389 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.7204, allocations: 231 kB / 0.7391 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.7218, allocations: 0.7977 MB / 0.7399 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/0.7219, allocations: 86.3 kB / 0.74 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.722, allocations: 111.9 kB / 0.7401 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.7244, allocations: 1.142 MB / 0.7412 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.7244, allocations: 4 kB / 0.7412 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.7245, allocations: 48 kB / 0.7413 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.7246, allocations: 28 kB / 0.7413 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.7268, allocations: 1.246 MB / 0.7425 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.7323, allocations: 3.056 MB / 0.7455 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.7338, allocations: 0.7765 MB / 0.7462 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.7343, allocations: 302.7 kB / 0.7465 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.7344, allocations: 24.69 kB / 0.7466 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008854/0.7353, allocations: 463.2 kB / 0.747 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.7353, allocations: 3.938 kB / 0.747 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003043/0.7384, allocations: 1.155 MB / 0.7481 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.7385, allocations: 196.5 kB / 0.7483 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/0.7395, allocations: 0.6881 MB / 0.749 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.7396, allocations: 37.7 kB / 0.749 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.7401, allocations: 0.4958 MB / 0.7495 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.7403, allocations: 260.2 kB / 0.7498 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7404, allocations: 69.67 kB / 0.7498 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.7406, allocations: 390.8 kB / 0.7502 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.7412, allocations: 257.9 kB / 0.7504 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.7418, allocations: 363.1 kB / 0.7508 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7429, allocations: 0.6072 MB / 0.7514 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7429, allocations: 0 / 0.7514 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001969/0.7448, allocations: 0.8487 MB / 0.7522 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7449, allocations: 8 kB / 0.7522 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7449, allocations: 0 / 0.7522 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.7455, allocations: 84.86 kB / 0.7523 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.7462, allocations: 163.8 kB / 0.7525 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.7485, allocations: 1.516 MB / 0.7539 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.7492, allocations: 99.33 kB / 0.754 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.7494, allocations: 31.98 kB / 0.7541 GB, free: 0.8008 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005916/0.75, allocations: 279.2 kB / 0.7543 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.7501, allocations: 90.86 kB / 0.7544 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.7524, allocations: 1.043 MB / 0.7554 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.7524, allocations: 8 kB / 0.7554 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.7524, allocations: 96 / 0.7554 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7524, allocations: 7.969 kB / 0.7555 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.7536, allocations: 0.9891 MB / 0.7564 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7536, allocations: 0 / 0.7564 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.7542, allocations: 147.8 kB / 0.7566 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/0.7547, allocations: 84.77 kB / 0.7566 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-05/0.7548, allocations: 27.92 kB / 0.7567 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.7567, allocations: 1.544 MB / 0.7582 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7567, allocations: 0 / 0.7582 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.7586, allocations: 0.8966 MB / 0.7591 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.759, allocations: 291.5 kB / 0.7593 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7591, allocations: 19.94 kB / 0.7593 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.7597, allocations: 76 kB / 0.7594 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.7599, allocations: 56.91 kB / 0.7595 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.76, allocations: 35.98 kB / 0.7595 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006202/0.7606, allocations: 495 kB / 0.76 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7606, allocations: 4 kB / 0.76 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008936/0.7615, allocations: 342.9 kB / 0.7603 GB, free: 10.15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.7628, allocations: 0.5918 MB / 0.7609 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.7645, allocations: 0.808 MB / 0.7617 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.7645, allocations: 4 kB / 0.7617 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.7654, allocations: 0.5003 MB / 0.7622 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7666, allocations: 264.5 kB / 0.7624 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.7714, allocations: 2.564 MB / 0.7649 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.7722, allocations: 1.079 MB / 0.766 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009099/0.7731, allocations: 274.8 kB / 0.7662 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7734, allocations: 103.4 kB / 0.7663 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.7734, allocations: 0 / 0.7663 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of Templates: time 0.0264/0.7998, allocations: 13.86 MB / 0.7799 GB, free: 6.441 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)