Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_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.006828/0.006828, allocations: 171.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8705/0.8705, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009537/0.0009534, allocations: 96.94 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5023, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.58/5.083, allocations: 1.694 GB / 2.344 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/5.083, allocations: 95.95 kB / 2.344 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7021/5.785, allocations: 68.69 MB / 2.411 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.959e-06/5.785, allocations: 0 / 2.411 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001502/5.785, allocations: 27.94 kB / 2.411 GB, free: 232.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.003654/5.789, allocations: 1.219 MB / 2.412 GB, free: 231 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/5.789, allocations: 12.03 kB / 2.412 GB, free: 231 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004373/5.79, allocations: 143.6 kB / 2.412 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/5.791, allocations: 218.5 kB / 2.412 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/5.793, allocations: 0.6269 MB / 2.413 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/5.793, allocations: 66 kB / 2.413 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/5.793, allocations: 88 kB / 2.413 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/5.795, allocations: 0.9409 MB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/5.795, allocations: 0 / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/5.795, allocations: 36 kB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/5.795, allocations: 23.94 kB / 2.414 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/5.797, allocations: 1.128 MB / 2.415 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/5.801, allocations: 2.504 MB / 2.418 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/5.803, allocations: 0.8965 MB / 2.419 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/5.803, allocations: 28.69 kB / 2.419 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007445/5.804, allocations: 435.3 kB / 2.419 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.566e-06/5.804, allocations: 3.938 kB / 2.419 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002942/5.807, allocations: 1.12 MB / 2.42 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/5.807, allocations: 245.2 kB / 2.42 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/5.808, allocations: 0.5971 MB / 2.421 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/5.808, allocations: 37.7 kB / 2.421 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/5.809, allocations: 392.2 kB / 2.421 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/5.809, allocations: 244.4 kB / 2.422 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/5.809, allocations: 16 kB / 2.422 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001252/5.809, allocations: 382.7 kB / 2.422 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/5.809, allocations: 229.2 kB / 2.422 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/5.81, allocations: 331.6 kB / 2.422 GB, free: 220 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/5.81, allocations: 275.1 kB / 2.423 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/5.81, allocations: 0 / 2.423 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001764/5.812, allocations: 0.7314 MB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/5.812, allocations: 4 kB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/5.812, allocations: 4 kB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/5.813, allocations: 84.83 kB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/5.814, allocations: 139.8 kB / 2.424 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/5.816, allocations: 1.529 MB / 2.425 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/5.816, allocations: 91.44 kB / 2.425 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/5.816, allocations: 27.97 kB / 2.425 GB, free: 216.9 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 () * Number of clocked 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.0007126/5.817, allocations: 254.9 kB / 2.425 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/5.817, allocations: 75.06 kB / 2.426 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/5.82, allocations: 1.021 MB / 2.427 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/5.82, allocations: 15.94 kB / 2.427 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/5.82, allocations: 0 / 2.427 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/5.82, allocations: 11.97 kB / 2.427 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/5.824, allocations: 1.95 MB / 2.428 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/5.824, allocations: 0 / 2.428 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/5.824, allocations: 143.8 kB / 2.429 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/5.825, allocations: 84.77 kB / 2.429 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/5.825, allocations: 23.98 kB / 2.429 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/5.826, allocations: 1.563 MB / 2.43 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.826, allocations: 3.953 kB / 2.43 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/5.828, allocations: 0.922 MB / 2.431 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/5.829, allocations: 287.6 kB / 2.431 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/5.829, allocations: 23.95 kB / 2.431 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/5.83, allocations: 63.95 kB / 2.432 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/5.83, allocations: 64.91 kB / 2.432 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/5.83, allocations: 31.98 kB / 2.432 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006733/5.831, allocations: 491 kB / 2.432 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/5.831, allocations: 0 / 2.432 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001297/5.832, allocations: 367.1 kB / 2.432 GB, free: 209.3 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) * Number of clocked states: 0 () * 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.004205/5.836, allocations: 2.458 MB / 2.435 GB, free: 207 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001644/5.838, allocations: 0.7318 MB / 2.436 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.838, allocations: 0 / 2.436 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/5.839, allocations: 0.4963 MB / 2.436 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/5.84, allocations: 232.3 kB / 2.436 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/5.851, allocations: 5.174 MB / 2.441 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/5.852, allocations: 1.043 MB / 2.442 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009852/5.853, allocations: 266.2 kB / 2.443 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/5.853, allocations: 379.3 kB / 2.443 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/5.853, allocations: 3.938 kB / 2.443 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05958/5.913, allocations: 29.55 MB / 2.472 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/5.913, allocations: 284.4 kB / 2.472 GB, free: 169 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/9.465, allocations: 4 kB / 2.472 GB, free: 169 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)