Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005863/0.005863, allocations: 102 kB / 15.73 MB, free: 6.035 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.001174/0.001174, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9322/0.9322, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4679, allocations: 80.92 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005604/0.4735, allocations: 4.071 MB / 0.6686 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.6519, allocations: 150.5 MB / 0.8155 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.6531, allocations: 19.88 kB / 0.8155 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.6538, allocations: 162.5 kB / 0.8157 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6554, allocations: 484.6 kB / 0.8162 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.6576, allocations: 0.7896 MB / 0.8169 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.6588, allocations: 1.172 MB / 0.8181 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.6596, allocations: 0.6174 MB / 0.8187 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.6601, allocations: 434.5 kB / 0.8191 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.6606, allocations: 445.9 kB / 0.8195 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.6607, allocations: 104 kB / 0.8196 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.6617, allocations: 483.6 kB / 0.8201 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.662, allocations: 267.2 kB / 0.8203 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.6624, allocations: 497.3 kB / 0.8208 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.6643, allocations: 1.493 MB / 0.8223 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6643, allocations: 0 / 0.8223 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6643, allocations: 0 / 0.8223 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.6643, allocations: 0 / 0.8223 GB, free: 15.61 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002212/0.6666, allocations: 1.307 MB / 0.8235 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6666, allocations: 12.03 kB / 0.8236 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.6675, allocations: 175.5 kB / 0.8237 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6686, allocations: 0.7189 MB / 0.8244 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.6687, allocations: 62 kB / 0.8245 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6688, allocations: 76 kB / 0.8246 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.6703, allocations: 0.8598 MB / 0.8254 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6703, allocations: 0 / 0.8254 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/0.6704, allocations: 36 kB / 0.8254 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.6704, allocations: 20 kB / 0.8254 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.672, allocations: 1.057 MB / 0.8265 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.6753, allocations: 2.348 MB / 0.8288 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.6766, allocations: 0.8 MB / 0.8296 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.6771, allocations: 282.3 kB / 0.8298 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.6771, allocations: 32.59 kB / 0.8299 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007121/0.6779, allocations: 417.7 kB / 0.8303 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.954e-06/0.6779, allocations: 0 / 0.8303 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002766/0.6807, allocations: 1.066 MB / 0.8313 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.6808, allocations: 196.5 kB / 0.8315 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.6817, allocations: 0.586 MB / 0.8321 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.6817, allocations: 41.7 kB / 0.8321 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.6821, allocations: 364.3 kB / 0.8324 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.6823, allocations: 232.6 kB / 0.8327 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.6825, allocations: 150.5 kB / 0.8328 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.6828, allocations: 378.8 kB / 0.8332 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.6832, allocations: 229.9 kB / 0.8334 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.6838, allocations: 326.8 kB / 0.8337 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6848, allocations: 0.5468 MB / 0.8342 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6849, allocations: 0 / 0.8342 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00185/0.6867, allocations: 0.7665 MB / 0.835 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6867, allocations: 4.094 kB / 0.835 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6868, allocations: 3.938 kB / 0.835 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.6874, allocations: 80.88 kB / 0.8351 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.688, allocations: 143.8 kB / 0.8352 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.6903, allocations: 1.649 MB / 0.8368 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.6909, allocations: 71.34 kB / 0.8369 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.691, allocations: 35.97 kB / 0.8369 GB, free: 80 kB / 0.6544 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 (81): * Single equations (assignments): 80 * 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.0004288/0.6914, allocations: 256.6 kB / 0.8372 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6915, allocations: 79 kB / 0.8372 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.6936, allocations: 0.9548 MB / 0.8382 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6936, allocations: 8 kB / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.6936, allocations: 0 / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.6936, allocations: 3.984 kB / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.6965, allocations: 1.829 MB / 0.84 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6965, allocations: 3.938 kB / 0.84 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.6971, allocations: 143.7 kB / 0.8401 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.6975, allocations: 76.78 kB / 0.8402 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.6976, allocations: 19.98 kB / 0.8402 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6994, allocations: 1.674 MB / 0.8418 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6995, allocations: 0 / 0.8418 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.7012, allocations: 0.8951 MB / 0.8427 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.7015, allocations: 251.9 kB / 0.8429 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7016, allocations: 19.94 kB / 0.843 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.7021, allocations: 55.94 kB / 0.843 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7022, allocations: 56.92 kB / 0.8431 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.7023, allocations: 31.98 kB / 0.8431 GB, free: 9.469 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004981/0.7028, allocations: 423 kB / 0.8435 GB, free: 9.059 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7028, allocations: 0 / 0.8435 GB, free: 9.059 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009131/0.7037, allocations: 287.3 kB / 0.8438 GB, free: 8.777 MB / 0.67 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001501/0.7053, allocations: 0.5964 MB / 0.8444 GB, free: 8.355 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7068, allocations: 0.7433 MB / 0.8451 GB, free: 7.602 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7068, allocations: 0 / 0.8451 GB, free: 7.602 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.7076, allocations: 492.5 kB / 0.8456 GB, free: 7.105 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.7087, allocations: 287.8 kB / 0.8458 GB, free: 6.852 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.712, allocations: 1.613 MB / 0.8474 GB, free: 5.211 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.7125, allocations: 0.9991 MB / 0.8484 GB, free: 4.184 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000643/0.7132, allocations: 250 kB / 0.8486 GB, free: 3.938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7134, allocations: 99.39 kB / 0.8487 GB, free: 3.84 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.7134, allocations: 0 / 0.8487 GB, free: 3.84 MB / 0.67 GB Notification: Performance of Templates: time 0.02351/0.7369, allocations: 13.77 MB / 0.8622 GB, free: 6.211 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)