Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007096/0.007096, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001353/0.001353, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 422.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 61.27 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.21 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005628/0.1556, allocations: 4.071 MB / 0.6636 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6125/0.7681, allocations: 150.5 MB / 0.8105 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.7689, allocations: 13.84 kB / 0.8106 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.7694, allocations: 164.3 kB / 0.8107 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.7708, allocations: 472.2 kB / 0.8112 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.7725, allocations: 0.7934 MB / 0.8119 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009289/0.7734, allocations: 1.173 MB / 0.8131 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/0.7742, allocations: 0.6162 MB / 0.8137 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.7746, allocations: 428 kB / 0.8141 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.7751, allocations: 441.3 kB / 0.8145 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.7753, allocations: 104.4 kB / 0.8146 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.776, allocations: 479.3 kB / 0.8151 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.7762, allocations: 266.6 kB / 0.8153 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.7766, allocations: 0.4913 MB / 0.8158 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.778, allocations: 1.5 MB / 0.8173 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.778, allocations: 0 / 0.8173 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.778, allocations: 0 / 0.8173 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.7781, allocations: 0 / 0.8173 GB, free: 10.08 MB / 0.5919 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.001801/0.7799, allocations: 1.348 MB / 0.8186 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.7799, allocations: 9.719 kB / 0.8186 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.7808, allocations: 187.2 kB / 0.8188 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.782, allocations: 0.7217 MB / 0.8195 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.782, allocations: 57.5 kB / 0.8195 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7822, allocations: 73.47 kB / 0.8196 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.7836, allocations: 0.8559 MB / 0.8204 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.7837, allocations: 7.688 kB / 0.8205 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.7837, allocations: 33.97 kB / 0.8205 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.7838, allocations: 17.34 kB / 0.8205 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.7854, allocations: 1.059 MB / 0.8215 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.7887, allocations: 2.358 MB / 0.8238 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.7899, allocations: 0.7991 MB / 0.8246 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.7904, allocations: 274.8 kB / 0.8249 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.7904, allocations: 30.55 kB / 0.8249 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000659/0.7911, allocations: 422.9 kB / 0.8253 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.753e-06/0.7911, allocations: 0 / 0.8253 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002637/0.7938, allocations: 1.068 MB / 0.8264 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.7939, allocations: 188.1 kB / 0.8265 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.7945, allocations: 0.5929 MB / 0.8271 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.967e-05/0.7946, allocations: 38.52 kB / 0.8272 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.7949, allocations: 371.5 kB / 0.8275 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.795, allocations: 248 kB / 0.8277 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.7952, allocations: 147 kB / 0.8279 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7954, allocations: 380.6 kB / 0.8282 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.7959, allocations: 235.6 kB / 0.8285 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.7964, allocations: 322.5 kB / 0.8288 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.7973, allocations: 0.5436 MB / 0.8293 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7973, allocations: 0 / 0.8293 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001745/0.7991, allocations: 0.7689 MB / 0.8301 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7991, allocations: 9.125 kB / 0.8301 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7991, allocations: 0 / 0.8301 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.7997, allocations: 81.83 kB / 0.8301 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.8002, allocations: 142.3 kB / 0.8303 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.8024, allocations: 1.655 MB / 0.8319 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.803, allocations: 78.12 kB / 0.832 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.8031, allocations: 32.39 kB / 0.832 GB, free: 15.75 MB / 0.6075 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.0003932/0.8035, allocations: 259 kB / 0.8322 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.8036, allocations: 74.31 kB / 0.8323 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.8058, allocations: 0.9608 MB / 0.8333 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.8058, allocations: 7.906 kB / 0.8333 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8058, allocations: 8 kB / 0.8333 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.8058, allocations: 3.984 kB / 0.8333 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.8092, allocations: 1.84 MB / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8092, allocations: 0 / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.8097, allocations: 137 kB / 0.8352 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.8102, allocations: 74.8 kB / 0.8353 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.8102, allocations: 23.17 kB / 0.8353 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.8121, allocations: 1.672 MB / 0.8369 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8121, allocations: 0 / 0.8369 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.8139, allocations: 0.903 MB / 0.8378 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.8142, allocations: 253 kB / 0.8381 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.8144, allocations: 22.67 kB / 0.8381 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.8149, allocations: 49.14 kB / 0.8381 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.815, allocations: 62.5 kB / 0.8382 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.8151, allocations: 29.83 kB / 0.8382 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005127/0.8156, allocations: 424.8 kB / 0.8386 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8156, allocations: 0 / 0.8386 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008317/0.8165, allocations: 289.2 kB / 0.8389 GB, free: 10.84 MB / 0.6075 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.001398/0.8179, allocations: 0.5939 MB / 0.8395 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8194, allocations: 0.7478 MB / 0.8402 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8194, allocations: 6.062 kB / 0.8402 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.8202, allocations: 489.8 kB / 0.8407 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.8214, allocations: 293.2 kB / 0.841 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.825, allocations: 1.651 MB / 0.8426 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.8256, allocations: 0.9898 MB / 0.8435 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007302/0.8263, allocations: 246 kB / 0.8438 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.8266, allocations: 91.39 kB / 0.8439 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of SimCode: time 6.52e-07/0.8266, allocations: 0 / 0.8439 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.02214/0.8487, allocations: 13.77 MB / 0.8573 GB, free: 10.07 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)