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.0009891/0.0009892, 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.0009631/0.0009632, allocations: 195.7 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6705/0.6705, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 67.77 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1155, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004559/0.1201, allocations: 4.138 MB / 0.5837 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3062/0.4264, allocations: 148.3 MB / 0.7285 GB, free: 3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.4269, allocations: 15.5 kB / 0.7285 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.4275, allocations: 134.3 kB / 0.7286 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.4289, allocations: 426.2 kB / 0.7291 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4305, allocations: 0.7127 MB / 0.7297 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.4317, allocations: 1.189 MB / 0.7309 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.4325, allocations: 0.607 MB / 0.7315 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.4331, allocations: 437.1 kB / 0.7319 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.4336, allocations: 451.5 kB / 0.7323 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.4338, allocations: 103.3 kB / 0.7324 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007335/0.4345, allocations: 451.6 kB / 0.7329 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4348, allocations: 272.4 kB / 0.7331 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.4353, allocations: 0.4897 MB / 0.7336 GB, free: 332 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.4367, allocations: 1.45 MB / 0.735 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4367, allocations: 0 / 0.735 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4367, allocations: 2 kB / 0.735 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.4367, allocations: 0 / 0.735 GB, free: 15.71 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.002019/0.4387, allocations: 1.333 MB / 0.7363 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4388, allocations: 9.219 kB / 0.7363 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.4389, allocations: 132.4 kB / 0.7365 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.4397, allocations: 176.5 kB / 0.7366 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.4404, allocations: 0.7183 MB / 0.7373 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.4405, allocations: 57 kB / 0.7374 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.4406, allocations: 75.59 kB / 0.7375 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.4418, allocations: 0.8708 MB / 0.7383 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4418, allocations: 4.75 kB / 0.7383 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.4419, allocations: 34.84 kB / 0.7384 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4419, allocations: 19.47 kB / 0.7384 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.4433, allocations: 1.065 MB / 0.7394 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.4461, allocations: 2.392 MB / 0.7418 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4472, allocations: 0.7993 MB / 0.7425 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.4475, allocations: 280.7 kB / 0.7428 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.4476, allocations: 30.11 kB / 0.7428 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006368/0.4483, allocations: 432 kB / 0.7432 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.784e-06/0.4483, allocations: 0 / 0.7432 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002434/0.4507, allocations: 1.087 MB / 0.7443 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/0.4508, allocations: 188.8 kB / 0.7445 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.4513, allocations: 0.59 MB / 0.7451 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.4514, allocations: 37.7 kB / 0.7451 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4516, allocations: 376.3 kB / 0.7455 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.4518, allocations: 244.4 kB / 0.7457 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.4519, allocations: 138.2 kB / 0.7458 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4521, allocations: 378.8 kB / 0.7462 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.4524, allocations: 213.2 kB / 0.7464 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.4529, allocations: 323.7 kB / 0.7467 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.4537, allocations: 0.5363 MB / 0.7472 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4537, allocations: 3.938 kB / 0.7472 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001465/0.4552, allocations: 0.7236 MB / 0.7479 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4552, allocations: 9.875 kB / 0.7479 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4552, allocations: 3.359 kB / 0.7479 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.4558, allocations: 88.83 kB / 0.748 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.4563, allocations: 135.8 kB / 0.7482 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.458, allocations: 1.63 MB / 0.7497 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.4585, allocations: 81.12 kB / 0.7498 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.4585, allocations: 23.98 kB / 0.7498 GB, free: 4.301 MB / 0.5606 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.0002801/0.4588, allocations: 249.7 kB / 0.7501 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.459, allocations: 79 kB / 0.7502 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.4609, allocations: 1.002 MB / 0.7511 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4609, allocations: 11.94 kB / 0.7511 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4609, allocations: 4 kB / 0.7511 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.461, allocations: 7.969 kB / 0.7512 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.4635, allocations: 1.877 MB / 0.753 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4635, allocations: 0 / 0.753 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.464, allocations: 143.8 kB / 0.7531 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.4644, allocations: 72.78 kB / 0.7532 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.4644, allocations: 23.98 kB / 0.7532 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.466, allocations: 1.654 MB / 0.7548 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.466, allocations: 3.938 kB / 0.7548 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4675, allocations: 0.9143 MB / 0.7557 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.4678, allocations: 259.8 kB / 0.756 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.4679, allocations: 19.81 kB / 0.756 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.4684, allocations: 63.94 kB / 0.7561 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4685, allocations: 60.91 kB / 0.7561 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.4686, allocations: 27.98 kB / 0.7561 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003906/0.469, allocations: 431 kB / 0.7566 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 0.7566 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006068/0.4696, allocations: 287.3 kB / 0.7568 GB, free: 12.89 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 (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.002781/0.4724, allocations: 1.954 MB / 0.7587 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.4741, allocations: 0.9261 MB / 0.7596 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4741, allocations: 4 kB / 0.7596 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.4748, allocations: 0.489 MB / 0.7601 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.4758, allocations: 281.8 kB / 0.7604 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/0.4851, allocations: 6.421 MB / 0.7667 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4855, allocations: 1.004 MB / 0.7676 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006679/0.4862, allocations: 265.6 kB / 0.7679 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.4866, allocations: 355.3 kB / 0.7682 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.4866, allocations: 0 / 0.7682 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9247/1.411, allocations: 19.57 MB / 0.7873 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/1.412, allocations: 303.2 kB / 0.7876 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.81, allocations: 0 / 0.7876 GB, free: 13.72 MB / 0.6075 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)