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.008906/0.008906, allocations: 169.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.7857/0.7857, allocations: 135.2 MB / 151 MB, free: 13.8 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.496/1.496, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009321/0.000932, allocations: 107 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4803, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.9, allocations: 1.694 GB / 2.344 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/4.901, allocations: 103.6 kB / 2.344 GB, free: 22.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6147/5.515, allocations: 68.69 MB / 2.411 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.087e-06/5.515, allocations: 4 kB / 2.411 GB, free: 232 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001181/5.515, allocations: 31.94 kB / 2.411 GB, free: 232 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.003111/5.519, allocations: 1.219 MB / 2.412 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/5.519, allocations: 8.031 kB / 2.412 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003699/5.519, allocations: 147.6 kB / 2.412 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/5.52, allocations: 206.5 kB / 2.412 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/5.522, allocations: 0.6308 MB / 2.413 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/5.522, allocations: 66 kB / 2.413 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/5.522, allocations: 91.94 kB / 2.413 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/5.524, allocations: 0.9371 MB / 2.414 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/5.524, allocations: 3.984 kB / 2.414 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/5.524, allocations: 40 kB / 2.414 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/5.524, allocations: 20 kB / 2.414 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/5.526, allocations: 1.128 MB / 2.415 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/5.53, allocations: 2.503 MB / 2.418 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/5.532, allocations: 0.8871 MB / 2.419 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/5.532, allocations: 32.69 kB / 2.419 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/5.533, allocations: 435.3 kB / 2.419 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/5.533, allocations: 0 / 2.419 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002862/5.535, allocations: 1.117 MB / 2.42 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/5.536, allocations: 259.9 kB / 2.42 GB, free: 222 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/5.536, allocations: 0.5854 MB / 2.421 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.761e-05/5.536, allocations: 37.7 kB / 2.421 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/5.537, allocations: 400.2 kB / 2.421 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/5.537, allocations: 240.4 kB / 2.422 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/5.537, allocations: 16 kB / 2.422 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000115/5.537, allocations: 382.7 kB / 2.422 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/5.537, allocations: 225.2 kB / 2.422 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/5.538, allocations: 335.6 kB / 2.422 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/5.538, allocations: 267.1 kB / 2.423 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.538, allocations: 0 / 2.423 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001651/5.54, allocations: 0.7393 MB / 2.423 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/5.54, allocations: 4 kB / 2.423 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/5.54, allocations: 0 / 2.423 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/5.541, allocations: 84.83 kB / 2.423 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/5.541, allocations: 143.8 kB / 2.424 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/5.543, allocations: 1.533 MB / 2.425 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/5.544, allocations: 87.44 kB / 2.425 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/5.544, allocations: 31.97 kB / 2.425 GB, free: 216.7 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.0005203/5.545, allocations: 250.9 kB / 2.425 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/5.545, allocations: 79.06 kB / 2.426 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/5.547, allocations: 1.029 MB / 2.427 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/5.547, allocations: 11.94 kB / 2.427 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/5.547, allocations: 0 / 2.427 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/5.547, allocations: 3.984 kB / 2.427 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/5.55, allocations: 1.946 MB / 2.428 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/5.551, allocations: 0 / 2.428 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/5.551, allocations: 147.8 kB / 2.429 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/5.552, allocations: 84.77 kB / 2.429 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/5.552, allocations: 23.98 kB / 2.429 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/5.553, allocations: 1.56 MB / 2.43 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.553, allocations: 3.938 kB / 2.43 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/5.555, allocations: 0.9259 MB / 2.431 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/5.556, allocations: 283.7 kB / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/5.556, allocations: 24.05 kB / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/5.557, allocations: 71.89 kB / 2.432 GB, free: 210 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/5.557, allocations: 64.84 kB / 2.432 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/5.557, allocations: 27.98 kB / 2.432 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006909/5.558, allocations: 0.4912 MB / 2.432 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.558, allocations: 0 / 2.432 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001509/5.559, allocations: 359.1 kB / 2.432 GB, free: 209.1 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.004612/5.564, allocations: 2.444 MB / 2.435 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001664/5.565, allocations: 0.7318 MB / 2.436 GB, free: 206 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.565, allocations: 4 kB / 2.436 GB, free: 206 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/5.566, allocations: 0.4924 MB / 2.436 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/5.567, allocations: 245.1 kB / 2.436 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/5.578, allocations: 5.178 MB / 2.441 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/5.579, allocations: 1.035 MB / 2.442 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001104/5.58, allocations: 262.2 kB / 2.443 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/5.58, allocations: 375.3 kB / 2.443 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/5.58, allocations: 0 / 2.443 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05959/5.64, allocations: 29.55 MB / 2.472 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/5.64, allocations: 300.4 kB / 2.472 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/8.929, allocations: 0 / 2.472 GB, free: 168.8 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)