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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6945/0.6945, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 60.12 kB / 0.5019 GB, free: 8.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1212, allocations: 80.2 MB / 0.5802 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005004/0.1262, allocations: 4.11 MB / 0.5842 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.311/0.4372, allocations: 150.5 MB / 0.7312 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.4378, allocations: 19.94 kB / 0.7312 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.4383, allocations: 165.9 kB / 0.7313 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.4394, allocations: 478.8 kB / 0.7318 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4409, allocations: 0.7954 MB / 0.7326 GB, free: 448 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.4418, allocations: 1.176 MB / 0.7337 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.4425, allocations: 0.6069 MB / 0.7343 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.4429, allocations: 431.8 kB / 0.7347 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.4434, allocations: 444.7 kB / 0.7351 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4435, allocations: 101.7 kB / 0.7352 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000576/0.4441, allocations: 455.4 kB / 0.7357 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.4443, allocations: 274.4 kB / 0.7359 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.4447, allocations: 499 kB / 0.7364 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.4458, allocations: 1.44 MB / 0.7378 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4458, allocations: 7.922 kB / 0.7378 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4458, allocations: 0 / 0.7378 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4458, allocations: 0 / 0.7378 GB, free: 13.83 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.00184/0.4477, allocations: 1.325 MB / 0.7391 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.4477, allocations: 10.44 kB / 0.7391 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.4478, allocations: 130 kB / 0.7393 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000833/0.4487, allocations: 180.4 kB / 0.7394 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.4495, allocations: 0.705 MB / 0.7401 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.4495, allocations: 58.97 kB / 0.7402 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.4496, allocations: 78.03 kB / 0.7402 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.4509, allocations: 0.8624 MB / 0.7411 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4509, allocations: 5.797 kB / 0.7411 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.451, allocations: 35.16 kB / 0.7411 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.451, allocations: 23.91 kB / 0.7411 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.4525, allocations: 1.063 MB / 0.7422 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.4556, allocations: 2.384 MB / 0.7445 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.4568, allocations: 0.7991 MB / 0.7453 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.4572, allocations: 272.8 kB / 0.7456 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.4573, allocations: 32.38 kB / 0.7456 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006724/0.458, allocations: 421.6 kB / 0.746 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.773e-06/0.458, allocations: 0 / 0.746 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002588/0.4606, allocations: 1.076 MB / 0.747 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.4607, allocations: 196.6 kB / 0.7472 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.4613, allocations: 0.5823 MB / 0.7478 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.4613, allocations: 41.7 kB / 0.7478 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.4616, allocations: 372.4 kB / 0.7482 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.4617, allocations: 236.5 kB / 0.7484 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4619, allocations: 130.2 kB / 0.7485 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4621, allocations: 378.8 kB / 0.7489 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.4625, allocations: 217.1 kB / 0.7491 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.463, allocations: 322.3 kB / 0.7494 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.4639, allocations: 0.5277 MB / 0.7499 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4639, allocations: 0 / 0.7499 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001602/0.4655, allocations: 0.7197 MB / 0.7506 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4656, allocations: 6.5 kB / 0.7506 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4656, allocations: 7.938 kB / 0.7506 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.4661, allocations: 76.81 kB / 0.7507 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.4667, allocations: 143.8 kB / 0.7509 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.4686, allocations: 1.619 MB / 0.7524 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.4691, allocations: 79.48 kB / 0.7525 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.4692, allocations: 27.98 kB / 0.7525 GB, free: 1.602 MB / 0.5606 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.000288/0.4695, allocations: 253.6 kB / 0.7528 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4696, allocations: 79 kB / 0.7529 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.4718, allocations: 1.003 MB / 0.7538 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4718, allocations: 15.98 kB / 0.7539 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4718, allocations: 4 kB / 0.7539 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4718, allocations: 3.984 kB / 0.7539 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.4746, allocations: 1.85 MB / 0.7557 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4746, allocations: 3.938 kB / 0.7557 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.4751, allocations: 147.8 kB / 0.7558 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/0.4756, allocations: 72.78 kB / 0.7559 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.4756, allocations: 19.98 kB / 0.7559 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.4773, allocations: 1.658 MB / 0.7575 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4773, allocations: 0 / 0.7575 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.479, allocations: 0.9138 MB / 0.7584 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4793, allocations: 259.7 kB / 0.7587 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4794, allocations: 23.91 kB / 0.7587 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.48, allocations: 56.78 kB / 0.7587 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4801, allocations: 56.92 kB / 0.7588 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.4801, allocations: 35.97 kB / 0.7588 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000441/0.4806, allocations: 427.1 kB / 0.7592 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4806, allocations: 0 / 0.7592 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006433/0.4812, allocations: 287.3 kB / 0.7595 GB, free: 10.21 MB / 0.5762 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.002977/0.4842, allocations: 1.963 MB / 0.7614 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.4861, allocations: 0.9111 MB / 0.7623 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4861, allocations: 3.938 kB / 0.7623 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.4869, allocations: 492.3 kB / 0.7628 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.488, allocations: 288.4 kB / 0.7631 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.4969, allocations: 6.031 MB / 0.7689 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.4974, allocations: 1.001 MB / 0.7699 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006633/0.4981, allocations: 254.2 kB / 0.7702 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.4985, allocations: 343.3 kB / 0.7705 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.4986, allocations: 4 kB / 0.7705 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.539, allocations: 19.69 MB / 0.7897 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.73, allocations: 14.73 kB / 0.7897 GB, free: 11.69 MB / 0.6075 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)