Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8307/0.8307, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 184.1 kB / 182.2 MB, free: 9.406 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001019/0.001019, allocations: 96.08 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001828, allocations: 289.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.384e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4126, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.723/4.136, allocations: 1.691 GB / 2.448 GB, free: 59.67 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/4.136, allocations: 96.62 kB / 2.448 GB, free: 59.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5526/4.689, allocations: 67.54 MB / 2.514 GB, free: 237.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.095e-06/4.689, allocations: 0.75 kB / 2.514 GB, free: 237.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.559e-05/4.689, allocations: 23.97 kB / 2.514 GB, free: 237.6 MB / 0.698 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.002091/4.691, allocations: 1.114 MB / 2.515 GB, free: 237 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/4.691, allocations: 13.75 kB / 2.515 GB, free: 237 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/4.692, allocations: 208.5 kB / 2.516 GB, free: 237 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/4.693, allocations: 0.6337 MB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/4.694, allocations: 28.94 kB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/4.694, allocations: 51.22 kB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001846/4.695, allocations: 1.019 MB / 2.517 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/4.697, allocations: 0.7807 MB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/4.697, allocations: 3.797 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/4.697, allocations: 5.781 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/4.697, allocations: 21.97 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/4.701, allocations: 2.331 MB / 2.52 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/4.703, allocations: 0.7937 MB / 2.521 GB, free: 235.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/4.704, allocations: 238.1 kB / 2.521 GB, free: 235.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/4.704, allocations: 33.66 kB / 2.521 GB, free: 235.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007743/4.704, allocations: 397.8 kB / 2.522 GB, free: 235.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.306e-06/4.704, allocations: 0 / 2.522 GB, free: 235.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001934/4.706, allocations: 0.6471 MB / 2.522 GB, free: 235.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/4.707, allocations: 243.8 kB / 2.523 GB, free: 235.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/4.707, allocations: 0.4912 MB / 2.523 GB, free: 235.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/4.708, allocations: 27.48 kB / 2.523 GB, free: 235.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/4.708, allocations: 401.9 kB / 2.524 GB, free: 235.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/4.708, allocations: 230.6 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/4.708, allocations: 0.625 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/4.708, allocations: 381.4 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/4.709, allocations: 186.4 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/4.709, allocations: 295.4 kB / 2.525 GB, free: 234.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/4.71, allocations: 233.1 kB / 2.525 GB, free: 234.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/4.71, allocations: 1.281 kB / 2.525 GB, free: 234.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001463/4.711, allocations: 0.6461 MB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/4.711, allocations: 7.656 kB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/4.711, allocations: 0 / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/4.712, allocations: 82.41 kB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/4.712, allocations: 141.3 kB / 2.526 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/4.714, allocations: 1.451 MB / 2.527 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/4.715, allocations: 68.2 kB / 2.527 GB, free: 233.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/4.715, allocations: 23.28 kB / 2.527 GB, free: 233.1 MB / 0.698 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.0001707/4.715, allocations: 118.4 kB / 2.527 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001342/4.716, allocations: 0.6513 MB / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/4.716, allocations: 79.11 kB / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/4.718, allocations: 0.8998 MB / 2.529 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/4.718, allocations: 7.719 kB / 2.529 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/4.718, allocations: 3.938 kB / 2.529 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/4.718, allocations: 5.875 kB / 2.529 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/4.721, allocations: 1.703 MB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/4.721, allocations: 3.188 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/4.721, allocations: 149 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/4.722, allocations: 88.5 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/4.722, allocations: 11.34 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/4.723, allocations: 1.481 MB / 2.532 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/4.723, allocations: 0 / 2.532 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/4.725, allocations: 0.819 MB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/4.725, allocations: 279.2 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/4.725, allocations: 7.062 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/4.726, allocations: 55.38 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/4.726, allocations: 56.94 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/4.726, allocations: 39.16 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004498/4.726, allocations: 394 kB / 2.534 GB, free: 230.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/4.726, allocations: 0 / 2.534 GB, free: 230.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001138/4.727, allocations: 343.7 kB / 2.534 GB, free: 230.7 MB / 0.698 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.003352/4.731, allocations: 2.352 MB / 2.536 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001218/4.732, allocations: 0.6382 MB / 2.537 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/4.732, allocations: 0 / 2.537 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/4.733, allocations: 451.8 kB / 2.537 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/4.734, allocations: 217.3 kB / 2.538 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/4.738, allocations: 1.522 MB / 2.539 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/4.738, allocations: 1.039 MB / 2.54 GB, free: 228.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009152/4.739, allocations: 257.2 kB / 2.54 GB, free: 228.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/4.74, allocations: 371.9 kB / 2.541 GB, free: 228.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/4.74, allocations: 7.938 kB / 2.541 GB, free: 228.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/4.789, allocations: 23.27 MB / 2.564 GB, free: 226.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/4.79, allocations: 221.3 kB / 2.564 GB, free: 226 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/7.757, allocations: 0 / 2.564 GB, free: 226 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)