Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0006054/0.0006054, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.0007342/0.0007343, allocations: 171.7 kB / 16.26 MB, free: 6.656 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.142/1.142, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6574/0.6574, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002582, allocations: 8 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2912, allocations: 81.58 MB / 0.5838 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003293/0.2945, allocations: 3.743 MB / 0.5874 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.127/0.4216, allocations: 146.6 MB / 0.7305 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.4221, allocations: 15.94 kB / 0.7305 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.4226, allocations: 135 kB / 0.7307 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.4238, allocations: 400.8 kB / 0.7311 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.4252, allocations: 0.6945 MB / 0.7317 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4262, allocations: 1.113 MB / 0.7328 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.427, allocations: 0.5785 MB / 0.7334 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.4274, allocations: 306.5 kB / 0.7337 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.4278, allocations: 330.1 kB / 0.734 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.4278, allocations: 24 kB / 0.734 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.4284, allocations: 367.6 kB / 0.7344 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.4286, allocations: 171.2 kB / 0.7345 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.4289, allocations: 411.1 kB / 0.7349 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4301, allocations: 1.366 MB / 0.7363 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.4301, allocations: 0 / 0.7363 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4301, allocations: 0 / 0.7363 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.4301, allocations: 0 / 0.7363 GB, free: 3.547 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001657/0.4318, allocations: 1.136 MB / 0.7374 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.4318, allocations: 12.03 kB / 0.7374 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.4319, allocations: 131.2 kB / 0.7375 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.4327, allocations: 191.5 kB / 0.7377 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.4335, allocations: 0.7031 MB / 0.7384 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.4336, allocations: 58 kB / 0.7384 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.4337, allocations: 76 kB / 0.7385 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4349, allocations: 0.8754 MB / 0.7393 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4349, allocations: 0 / 0.7393 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.435, allocations: 35.94 kB / 0.7394 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.435, allocations: 20 kB / 0.7394 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.4365, allocations: 1.073 MB / 0.7405 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.4396, allocations: 2.423 MB / 0.7428 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4407, allocations: 0.8026 MB / 0.7436 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.4412, allocations: 278.7 kB / 0.7439 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.4413, allocations: 40.61 kB / 0.7439 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.4419, allocations: 439.2 kB / 0.7443 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.653e-06/0.4419, allocations: 0 / 0.7443 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002593/0.4445, allocations: 1.092 MB / 0.7454 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.4446, allocations: 188.6 kB / 0.7456 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.4452, allocations: 0.5862 MB / 0.7461 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.4453, allocations: 41.7 kB / 0.7462 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4455, allocations: 376.2 kB / 0.7465 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.4457, allocations: 232.6 kB / 0.7468 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.4457, allocations: 57.69 kB / 0.7468 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4459, allocations: 386.7 kB / 0.7472 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.4463, allocations: 217.2 kB / 0.7474 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.4467, allocations: 327.6 kB / 0.7477 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.4476, allocations: 0.5402 MB / 0.7482 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4476, allocations: 0 / 0.7482 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001521/0.4492, allocations: 0.7392 MB / 0.749 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4492, allocations: 4 kB / 0.749 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4492, allocations: 4 kB / 0.749 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.4498, allocations: 96.75 kB / 0.7491 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.4503, allocations: 147.8 kB / 0.7492 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.452, allocations: 1.516 MB / 0.7507 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.4525, allocations: 83.41 kB / 0.7508 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.4525, allocations: 24.05 kB / 0.7508 GB, free: 4.102 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0002882/0.4528, allocations: 253.7 kB / 0.751 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.4529, allocations: 75.06 kB / 0.7511 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.4549, allocations: 1.017 MB / 0.7521 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4549, allocations: 8 kB / 0.7521 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4549, allocations: 4 kB / 0.7521 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4549, allocations: 7.984 kB / 0.7521 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.4576, allocations: 1.873 MB / 0.7539 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4576, allocations: 0 / 0.7539 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.4581, allocations: 147.8 kB / 0.7541 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.4586, allocations: 92.64 kB / 0.7542 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.4586, allocations: 23.98 kB / 0.7542 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.4602, allocations: 1.548 MB / 0.7557 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4602, allocations: 0 / 0.7557 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4617, allocations: 0.9258 MB / 0.7566 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.462, allocations: 279.7 kB / 0.7569 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.4621, allocations: 16 kB / 0.7569 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.4627, allocations: 59.95 kB / 0.7569 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4628, allocations: 68.84 kB / 0.757 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.4628, allocations: 31.98 kB / 0.757 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004162/0.4633, allocations: 431 kB / 0.7575 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4633, allocations: 0 / 0.7575 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006166/0.4639, allocations: 287.2 kB / 0.7577 GB, free: 12.73 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 (87): * Single equations (assignments): 84 * 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.002828/0.4667, allocations: 1.979 MB / 0.7597 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.468, allocations: 0.7319 MB / 0.7604 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.468, allocations: 0 / 0.7604 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/0.4688, allocations: 0.4963 MB / 0.7609 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4698, allocations: 261.9 kB / 0.7611 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/0.4795, allocations: 6.52 MB / 0.7675 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4799, allocations: 1.004 MB / 0.7685 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006763/0.4806, allocations: 250.3 kB / 0.7687 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.481, allocations: 355.3 kB / 0.769 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4811, allocations: 0 / 0.769 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/2.38, allocations: 18.76 MB / 0.7873 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/2.381, allocations: 298.4 kB / 0.7876 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/5.494, allocations: 3.75 kB / 0.7876 GB, free: 14.45 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)