Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001168/0.001168, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6733/0.6733, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 64.69 kB / 0.5014 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3059, allocations: 80.19 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00492/0.3109, allocations: 4.137 MB / 0.5837 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.14/0.4509, allocations: 148.2 MB / 0.7285 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.4516, allocations: 19.88 kB / 0.7285 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.4521, allocations: 131 kB / 0.7286 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.4534, allocations: 432.5 kB / 0.729 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.455, allocations: 0.7075 MB / 0.7297 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009051/0.4559, allocations: 1.18 MB / 0.7309 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006878/0.4566, allocations: 0.6098 MB / 0.7315 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.457, allocations: 438.4 kB / 0.7319 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.4574, allocations: 450 kB / 0.7323 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4576, allocations: 100 kB / 0.7324 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.4582, allocations: 455.6 kB / 0.7328 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.4584, allocations: 271.1 kB / 0.7331 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.4587, allocations: 0.4896 MB / 0.7336 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4599, allocations: 1.445 MB / 0.735 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4599, allocations: 0 / 0.735 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4599, allocations: 0 / 0.735 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4599, allocations: 0 / 0.735 GB, free: 2.094 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001844/0.4618, allocations: 1.334 MB / 0.7363 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.4618, allocations: 8.031 kB / 0.7363 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.462, allocations: 131.1 kB / 0.7364 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.4628, allocations: 179.5 kB / 0.7366 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.4636, allocations: 0.7071 MB / 0.7373 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.4636, allocations: 62 kB / 0.7373 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.4637, allocations: 76 kB / 0.7374 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.465, allocations: 0.8598 MB / 0.7383 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.465, allocations: 4 kB / 0.7383 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.4651, allocations: 32 kB / 0.7383 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4652, allocations: 20 kB / 0.7383 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4666, allocations: 1.061 MB / 0.7394 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.4698, allocations: 2.378 MB / 0.7417 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.471, allocations: 0.796 MB / 0.7425 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.4714, allocations: 282.2 kB / 0.7427 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.018e-05/0.4715, allocations: 32.58 kB / 0.7428 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007131/0.4722, allocations: 431 kB / 0.7432 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 1.883e-06/0.4722, allocations: 4 kB / 0.7432 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002633/0.4749, allocations: 1.061 MB / 0.7442 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.475, allocations: 200.6 kB / 0.7444 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.4756, allocations: 0.5899 MB / 0.745 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.4756, allocations: 41.7 kB / 0.745 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.4759, allocations: 368.4 kB / 0.7454 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.476, allocations: 244.5 kB / 0.7456 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.4762, allocations: 130.2 kB / 0.7457 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4764, allocations: 378.8 kB / 0.7461 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.4769, allocations: 217.2 kB / 0.7463 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.4775, allocations: 314.7 kB / 0.7466 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/0.4783, allocations: 0.5354 MB / 0.7471 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4783, allocations: 0 / 0.7471 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001563/0.4799, allocations: 0.712 MB / 0.7478 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4799, allocations: 7.984 kB / 0.7478 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.48, allocations: 0 / 0.7478 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.4805, allocations: 84.88 kB / 0.7479 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.4811, allocations: 139.8 kB / 0.748 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.483, allocations: 1.626 MB / 0.7496 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.4835, allocations: 81.89 kB / 0.7497 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.4835, allocations: 27.98 kB / 0.7497 GB, free: 2.453 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: 6 (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 (75): * Single equations (assignments): 74 * 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.0002898/0.4838, allocations: 241.9 kB / 0.75 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.484, allocations: 86.97 kB / 0.75 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.4861, allocations: 0.994 MB / 0.751 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4861, allocations: 16 kB / 0.751 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4861, allocations: 0 / 0.751 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4861, allocations: 7.969 kB / 0.751 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.4889, allocations: 1.854 MB / 0.7528 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.4889, allocations: 0 / 0.7528 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.4894, allocations: 151.7 kB / 0.753 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.4899, allocations: 72.78 kB / 0.7531 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.4899, allocations: 27.98 kB / 0.7531 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.4916, allocations: 1.654 MB / 0.7547 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4916, allocations: 7.875 kB / 0.7547 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.4933, allocations: 0.9064 MB / 0.7556 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4936, allocations: 259.8 kB / 0.7558 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4937, allocations: 12 kB / 0.7558 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.4943, allocations: 59.94 kB / 0.7559 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4944, allocations: 64.8 kB / 0.756 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.4945, allocations: 31.98 kB / 0.756 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004594/0.4949, allocations: 431 kB / 0.7564 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4949, allocations: 0 / 0.7564 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006999/0.4956, allocations: 283.2 kB / 0.7567 GB, free: 11.06 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003053/0.4987, allocations: 1.972 MB / 0.7586 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.5006, allocations: 0.9113 MB / 0.7595 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5006, allocations: 4 kB / 0.7595 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.5014, allocations: 492.3 kB / 0.76 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5026, allocations: 281.7 kB / 0.7602 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.5138, allocations: 6.407 MB / 0.7665 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.5143, allocations: 1.008 MB / 0.7675 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008215/0.5152, allocations: 246.2 kB / 0.7677 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.5156, allocations: 343.3 kB / 0.768 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.5156, allocations: 0 / 0.768 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.5579, allocations: 19.55 MB / 0.7871 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.5581, allocations: 294.2 kB / 0.7874 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.8, allocations: 0 / 0.7874 GB, free: 11.95 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)