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.005424/0.005424, allocations: 102 kB / 15.73 MB, free: 6.039 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.001307/0.001307, allocations: 194 kB / 16.67 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.2 MB / 422.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 66.58 kB / 0.5808 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1619, allocations: 80.2 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006349/0.1683, allocations: 4.136 MB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5159/0.6842, allocations: 150.5 MB / 0.8102 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.685, allocations: 17.47 kB / 0.8102 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.6857, allocations: 168.7 kB / 0.8103 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.6873, allocations: 478.9 kB / 0.8108 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.689, allocations: 0.8004 MB / 0.8116 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.6903, allocations: 1.201 MB / 0.8128 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.6912, allocations: 0.6001 MB / 0.8133 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.6919, allocations: 438.8 kB / 0.8138 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.6926, allocations: 454.5 kB / 0.8142 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.6929, allocations: 106.6 kB / 0.8143 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.6939, allocations: 467.6 kB / 0.8147 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.6942, allocations: 270.2 kB / 0.815 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.6949, allocations: 0.4985 MB / 0.8155 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.6968, allocations: 1.49 MB / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6968, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6968, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.161e-05/0.6968, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 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.002602/0.6994, allocations: 1.335 MB / 0.8182 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6995, allocations: 11.16 kB / 0.8183 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6997, allocations: 132.1 kB / 0.8184 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.7006, allocations: 178.4 kB / 0.8185 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.7016, allocations: 0.732 MB / 0.8193 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.7017, allocations: 57.91 kB / 0.8193 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.7018, allocations: 80.22 kB / 0.8194 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.7032, allocations: 0.8701 MB / 0.8202 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.7032, allocations: 3 kB / 0.8202 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.7033, allocations: 35.52 kB / 0.8203 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.7033, allocations: 18.72 kB / 0.8203 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.7048, allocations: 1.067 MB / 0.8213 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.7081, allocations: 2.35 MB / 0.8236 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.7094, allocations: 0.7963 MB / 0.8244 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.7098, allocations: 279.2 kB / 0.8247 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.7099, allocations: 28.73 kB / 0.8247 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.7106, allocations: 431.6 kB / 0.8251 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.304e-06/0.7106, allocations: 0 / 0.8251 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002739/0.7133, allocations: 1.083 MB / 0.8262 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.7134, allocations: 189.2 kB / 0.8264 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.714, allocations: 0.5839 MB / 0.8269 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.7141, allocations: 38.3 kB / 0.827 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.7144, allocations: 385.8 kB / 0.8273 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.7145, allocations: 236 kB / 0.8276 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.7147, allocations: 137.6 kB / 0.8277 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7149, allocations: 379.9 kB / 0.828 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.7153, allocations: 213 kB / 0.8283 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.7158, allocations: 328.3 kB / 0.8286 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.7167, allocations: 0.5402 MB / 0.8291 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7167, allocations: 3.938 kB / 0.8291 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001607/0.7183, allocations: 0.7244 MB / 0.8298 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7183, allocations: 8.344 kB / 0.8298 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7183, allocations: 3 kB / 0.8298 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.7189, allocations: 86.8 kB / 0.8299 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.7195, allocations: 137.6 kB / 0.83 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.7214, allocations: 1.635 MB / 0.8316 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.722, allocations: 74.62 kB / 0.8317 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.722, allocations: 29.84 kB / 0.8317 GB, free: 15.55 MB / 0.6075 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.0003284/0.7224, allocations: 249.3 kB / 0.832 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.7225, allocations: 80.69 kB / 0.832 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.7246, allocations: 0.9991 MB / 0.833 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7246, allocations: 14.05 kB / 0.833 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7247, allocations: 0 / 0.833 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7247, allocations: 3.984 kB / 0.833 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.7279, allocations: 1.873 MB / 0.8349 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7279, allocations: 2.125 kB / 0.8349 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.7284, allocations: 145.5 kB / 0.835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.7288, allocations: 71.84 kB / 0.8351 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.7289, allocations: 23.67 kB / 0.8351 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.7307, allocations: 1.661 MB / 0.8367 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7307, allocations: 6.781 kB / 0.8367 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.7325, allocations: 0.9137 MB / 0.8376 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.7328, allocations: 256.6 kB / 0.8379 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.733, allocations: 25.44 kB / 0.8379 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.7336, allocations: 56.88 kB / 0.8379 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.7337, allocations: 62.75 kB / 0.838 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.7338, allocations: 28.52 kB / 0.838 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005128/0.7343, allocations: 429.7 kB / 0.8384 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7343, allocations: 0 / 0.8384 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008015/0.7351, allocations: 285.9 kB / 0.8387 GB, free: 10.62 MB / 0.6075 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.00318/0.7383, allocations: 1.972 MB / 0.8406 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7398, allocations: 0.7269 MB / 0.8413 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.7398, allocations: 0 / 0.8413 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.7406, allocations: 496.2 kB / 0.8418 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.7418, allocations: 282.7 kB / 0.8421 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7521, allocations: 5.889 MB / 0.8478 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.7527, allocations: 1.003 MB / 0.8488 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007883/0.7535, allocations: 269.3 kB / 0.8491 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.754, allocations: 355.3 kB / 0.8494 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.754, allocations: 0 / 0.8494 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.8005, allocations: 20.3 MB / 0.8692 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.74, allocations: 11.78 kB / 0.8692 GB, free: 13.22 MB / 0.6387 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)