Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_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.005606/0.005606, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001528/0.001528, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3845, allocations: 81.02 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004138/0.3887, allocations: 4.131 MB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.5539, allocations: 150.5 MB / 0.8158 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.5546, allocations: 19.88 kB / 0.8159 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.5551, allocations: 162.5 kB / 0.816 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.5567, allocations: 484.3 kB / 0.8165 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5586, allocations: 0.7966 MB / 0.8173 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.56, allocations: 1.195 MB / 0.8184 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008673/0.5609, allocations: 0.6176 MB / 0.819 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.5615, allocations: 438.5 kB / 0.8194 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.562, allocations: 446 kB / 0.8199 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.5623, allocations: 104 kB / 0.82 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.5632, allocations: 475.5 kB / 0.8204 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.5634, allocations: 267.1 kB / 0.8207 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.5639, allocations: 0.4973 MB / 0.8212 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.5658, allocations: 1.495 MB / 0.8226 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5658, allocations: 0 / 0.8226 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5658, allocations: 4 kB / 0.8226 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.5659, allocations: 0 / 0.8226 GB, free: 14.75 MB / 0.6544 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.00225/0.5681, allocations: 1.364 MB / 0.824 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5681, allocations: 8.031 kB / 0.824 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.5683, allocations: 131.2 kB / 0.8241 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/0.5693, allocations: 192.1 kB / 0.8243 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.5704, allocations: 0.7349 MB / 0.825 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.5704, allocations: 58 kB / 0.8251 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.5706, allocations: 76 kB / 0.8251 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5721, allocations: 0.8716 MB / 0.826 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5721, allocations: 3.938 kB / 0.826 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.5722, allocations: 35.94 kB / 0.826 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.5722, allocations: 20 kB / 0.826 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.574, allocations: 1.069 MB / 0.8271 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.5778, allocations: 2.356 MB / 0.8294 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.5792, allocations: 0.801 MB / 0.8302 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.5797, allocations: 278.7 kB / 0.8304 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.5798, allocations: 28.69 kB / 0.8305 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/0.5805, allocations: 432.3 kB / 0.8309 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.024e-06/0.5806, allocations: 0 / 0.8309 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003002/0.5836, allocations: 1.089 MB / 0.8319 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.5837, allocations: 188.6 kB / 0.8321 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.5844, allocations: 0.5862 MB / 0.8327 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.5845, allocations: 41.7 kB / 0.8327 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5848, allocations: 388.8 kB / 0.8331 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.5851, allocations: 249.8 kB / 0.8333 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.5853, allocations: 138.2 kB / 0.8335 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5855, allocations: 382.7 kB / 0.8338 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.586, allocations: 213.2 kB / 0.834 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.5865, allocations: 323.7 kB / 0.8343 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5876, allocations: 0.5363 MB / 0.8349 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5876, allocations: 0 / 0.8349 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001783/0.5894, allocations: 0.7279 MB / 0.8356 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5894, allocations: 8 kB / 0.8356 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5894, allocations: 0 / 0.8356 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.59, allocations: 88.83 kB / 0.8357 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.5906, allocations: 139.7 kB / 0.8358 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.5928, allocations: 1.627 MB / 0.8374 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.5934, allocations: 75.62 kB / 0.8375 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.5935, allocations: 32.03 kB / 0.8375 GB, free: 14.98 MB / 0.67 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.0003689/0.5939, allocations: 249.6 kB / 0.8377 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.594, allocations: 83.42 kB / 0.8378 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.5964, allocations: 1.006 MB / 0.8388 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5964, allocations: 8 kB / 0.8388 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5964, allocations: 3.984 kB / 0.8388 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5965, allocations: 7.984 kB / 0.8388 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.5997, allocations: 1.866 MB / 0.8406 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5997, allocations: 4 kB / 0.8406 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.6003, allocations: 143.8 kB / 0.8408 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.6008, allocations: 72.72 kB / 0.8408 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.6008, allocations: 27.98 kB / 0.8409 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.6029, allocations: 1.658 MB / 0.8425 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6029, allocations: 0 / 0.8425 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.6048, allocations: 0.9282 MB / 0.8434 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.6052, allocations: 256.3 kB / 0.8436 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.6053, allocations: 16 kB / 0.8437 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.6059, allocations: 58.81 kB / 0.8437 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.606, allocations: 64.91 kB / 0.8438 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.6061, allocations: 27.98 kB / 0.8438 GB, free: 8.246 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005326/0.6066, allocations: 435 kB / 0.8442 GB, free: 7.828 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6066, allocations: 0 / 0.8442 GB, free: 7.828 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007426/0.6074, allocations: 295.1 kB / 0.8445 GB, free: 7.539 MB / 0.67 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.004004/0.6114, allocations: 1.969 MB / 0.8464 GB, free: 5.727 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.613, allocations: 0.7316 MB / 0.8471 GB, free: 4.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6131, allocations: 0 / 0.8471 GB, free: 4.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.614, allocations: 0.4965 MB / 0.8476 GB, free: 4.473 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6153, allocations: 279.8 kB / 0.8479 GB, free: 4.219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6258, allocations: 5.908 MB / 0.8537 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.6264, allocations: 1.003 MB / 0.8546 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007624/0.6272, allocations: 254.3 kB / 0.8549 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.6277, allocations: 359.3 kB / 0.8552 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.6278, allocations: 0 / 0.8552 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8541/1.482, allocations: 19.94 MB / 0.8747 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.79, allocations: 7.75 kB / 0.8747 GB, free: 190.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)