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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0009, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009086/0.0009086, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.075/1.075, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003297, allocations: 12 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004546/0.2162, allocations: 3.421 MB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6294/0.8456, allocations: 127.4 MB / 0.7151 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.8466, allocations: 14.34 kB / 0.7151 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.847, allocations: 74.2 kB / 0.7151 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.849, allocations: 457.3 kB / 0.7156 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.8515, allocations: 0.6017 MB / 0.7162 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.8536, allocations: 0.7338 MB / 0.7169 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.8547, allocations: 467.5 kB / 0.7173 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.8556, allocations: 289.8 kB / 0.7176 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.8561, allocations: 282.1 kB / 0.7179 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.8562, allocations: 25.69 kB / 0.7179 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.8575, allocations: 308.2 kB / 0.7182 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.8577, allocations: 156.5 kB / 0.7183 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.858, allocations: 179.9 kB / 0.7185 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.8599, allocations: 1.073 MB / 0.7196 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8599, allocations: 0 / 0.7196 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8599, allocations: 1.219 kB / 0.7196 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.8599, allocations: 0 / 0.7196 GB, free: 13.19 MB / 0.545 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.003337/0.8633, allocations: 1.123 MB / 0.7207 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.8633, allocations: 13.78 kB / 0.7207 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/0.8636, allocations: 125.6 kB / 0.7208 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.8648, allocations: 186.6 kB / 0.721 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.8663, allocations: 0.6812 MB / 0.7216 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.8664, allocations: 59.36 kB / 0.7217 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.8666, allocations: 79.34 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.8684, allocations: 0.8461 MB / 0.7226 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.8684, allocations: 0 / 0.7226 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.8685, allocations: 34.8 kB / 0.7226 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.8686, allocations: 18.94 kB / 0.7226 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.8709, allocations: 1.07 MB / 0.7237 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/0.8758, allocations: 2.41 MB / 0.726 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.8773, allocations: 0.7988 MB / 0.7268 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.8775, allocations: 30.3 kB / 0.7268 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009622/0.8784, allocations: 427.4 kB / 0.7273 GB, free: 9.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.194e-06/0.8784, allocations: 0 / 0.7273 GB, free: 9.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.003135/0.8816, allocations: 1.073 MB / 0.7283 GB, free: 8.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/0.8817, allocations: 193.8 kB / 0.7285 GB, free: 8.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/0.8826, allocations: 0.5792 MB / 0.7291 GB, free: 8.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/0.8827, allocations: 40.28 kB / 0.7291 GB, free: 8.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.883, allocations: 372.1 kB / 0.7294 GB, free: 7.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.8832, allocations: 233 kB / 0.7297 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.8833, allocations: 14.69 kB / 0.7297 GB, free: 7.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8835, allocations: 376.9 kB / 0.73 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.8839, allocations: 216.3 kB / 0.7302 GB, free: 7.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.8844, allocations: 317.2 kB / 0.7305 GB, free: 7.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.8849, allocations: 262.8 kB / 0.7308 GB, free: 6.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.885, allocations: 0.9375 kB / 0.7308 GB, free: 6.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001659/0.8866, allocations: 0.7153 MB / 0.7315 GB, free: 6.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8867, allocations: 9.234 kB / 0.7315 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8867, allocations: 3.062 kB / 0.7315 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.8873, allocations: 81.88 kB / 0.7316 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.8878, allocations: 132.3 kB / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.8899, allocations: 1.549 MB / 0.7332 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.8906, allocations: 82.41 kB / 0.7333 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.8907, allocations: 32.17 kB / 0.7333 GB, free: 5.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005628/0.8913, allocations: 245.8 kB / 0.7336 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.8914, allocations: 83.27 kB / 0.7337 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.894, allocations: 0.9731 MB / 0.7346 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.8941, allocations: 8 kB / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8941, allocations: 0 / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.8941, allocations: 4.547 kB / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.8988, allocations: 1.842 MB / 0.7364 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.8988, allocations: 3.953 kB / 0.7364 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.8997, allocations: 150.4 kB / 0.7366 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.9003, allocations: 86.69 kB / 0.7366 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.9003, allocations: 25 kB / 0.7367 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.9025, allocations: 1.565 MB / 0.7382 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.9025, allocations: 4 kB / 0.7382 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.9045, allocations: 0.8995 MB / 0.7391 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.9049, allocations: 275.7 kB / 0.7393 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.9051, allocations: 16 kB / 0.7394 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.9058, allocations: 63.95 kB / 0.7394 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.906, allocations: 56.91 kB / 0.7395 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.9061, allocations: 31.98 kB / 0.7395 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005729/0.9067, allocations: 423 kB / 0.7399 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9067, allocations: 4 kB / 0.7399 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001077/0.9078, allocations: 271.4 kB / 0.7402 GB, free: 15.12 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004485/0.9123, allocations: 1.948 MB / 0.7421 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.9147, allocations: 0.7075 MB / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9148, allocations: 0 / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.9161, allocations: 497 kB / 0.7432 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9182, allocations: 237.3 kB / 0.7435 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.9345, allocations: 5.017 MB / 0.7484 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.9355, allocations: 1.015 MB / 0.7494 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001588/0.9371, allocations: 246 kB / 0.7496 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.9378, allocations: 347.3 kB / 0.7499 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.9379, allocations: 0 / 0.7499 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.9856, allocations: 19.59 MB / 0.769 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004803/0.9861, allocations: 262.7 kB / 0.7693 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.364, allocations: 4 kB / 0.7693 GB, free: 1.605 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: