Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.328/1.328, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.126/3.126, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 98.03 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.5e-05/8.521e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3631, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.971/9.334, allocations: 1.694 GB / 2.335 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005848/9.335, allocations: 91.83 kB / 2.335 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2674/9.602, allocations: 68.38 MB / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.919e-06/9.602, allocations: 0 / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002018/9.603, allocations: 35.88 kB / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004736/9.607, allocations: 1.108 MB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.004e-05/9.607, allocations: 16.02 kB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006104/9.608, allocations: 141.3 kB / 2.403 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/9.61, allocations: 218.4 kB / 2.403 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/9.613, allocations: 0.623 MB / 2.403 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/9.613, allocations: 66.69 kB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/9.614, allocations: 88.25 kB / 2.404 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/9.617, allocations: 0.9043 MB / 2.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/9.617, allocations: 4 kB / 2.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/9.618, allocations: 36.88 kB / 2.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/9.618, allocations: 23.95 kB / 2.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/9.62, allocations: 1.07 MB / 2.406 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006893/9.627, allocations: 2.504 MB / 2.408 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/9.63, allocations: 0.8346 MB / 2.409 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/9.631, allocations: 263.2 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/9.631, allocations: 40.66 kB / 2.409 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/9.632, allocations: 413.5 kB / 2.41 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.809e-06/9.632, allocations: 4 kB / 2.41 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003225/9.635, allocations: 0.6875 MB / 2.41 GB, free: 132 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/9.636, allocations: 252 kB / 2.41 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/9.638, allocations: 0.5816 MB / 2.411 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/9.639, allocations: 41.7 kB / 2.411 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/9.64, allocations: 400.1 kB / 2.411 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/9.64, allocations: 240.5 kB / 2.412 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/9.64, allocations: 12 kB / 2.412 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002297/9.641, allocations: 374.8 kB / 2.412 GB, free: 130 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/9.641, allocations: 201.5 kB / 2.412 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/9.642, allocations: 309.1 kB / 2.413 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/9.642, allocations: 246 kB / 2.413 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/9.642, allocations: 0 / 2.413 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002334/9.645, allocations: 0.6915 MB / 2.413 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/9.645, allocations: 8 kB / 2.413 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/9.645, allocations: 0 / 2.413 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/9.646, allocations: 80.84 kB / 2.414 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/9.647, allocations: 143.8 kB / 2.414 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/9.649, allocations: 1.521 MB / 2.415 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/9.65, allocations: 83.44 kB / 2.415 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/9.651, allocations: 35.98 kB / 2.415 GB, free: 126.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003343/9.651, allocations: 148.8 kB / 2.415 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/9.651, allocations: 75.06 kB / 2.415 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/9.654, allocations: 0.9616 MB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/9.654, allocations: 12 kB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/9.654, allocations: 3.953 kB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/9.654, allocations: 7.922 kB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/9.66, allocations: 1.889 MB / 2.418 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/9.66, allocations: 3.938 kB / 2.418 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/9.66, allocations: 147.8 kB / 2.418 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006785/9.661, allocations: 88.77 kB / 2.419 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/9.661, allocations: 23.98 kB / 2.419 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/9.664, allocations: 1.544 MB / 2.42 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/9.664, allocations: 3.938 kB / 2.42 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/9.666, allocations: 0.8689 MB / 2.421 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007592/9.667, allocations: 283.7 kB / 2.421 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/9.667, allocations: 16 kB / 2.421 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/9.668, allocations: 71.94 kB / 2.421 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/9.668, allocations: 60.66 kB / 2.421 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/9.669, allocations: 31.97 kB / 2.421 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001176/9.67, allocations: 487.1 kB / 2.422 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/9.67, allocations: 4 kB / 2.422 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002291/9.672, allocations: 371 kB / 2.422 GB, free: 119.2 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006557/9.679, allocations: 2.346 MB / 2.424 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002131/9.681, allocations: 0.6824 MB / 2.425 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/9.681, allocations: 0 / 2.425 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/9.682, allocations: 475 kB / 2.426 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/9.684, allocations: 229.3 kB / 2.426 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/9.692, allocations: 1.603 MB / 2.427 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/9.693, allocations: 1.033 MB / 2.428 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001851/9.695, allocations: 262.2 kB / 2.429 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/9.695, allocations: 379.3 kB / 2.429 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.763e-06/9.695, allocations: 0 / 2.429 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/9.82, allocations: 31.27 MB / 2.46 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005862/9.821, allocations: 258.1 kB / 2.46 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.749/15.57, allocations: 0 / 2.46 GB, free: 80.89 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)