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.857/0.857, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.00122/0.001221, allocations: 185.7 kB / 191.5 MB, free: 5.762 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.604/1.604, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.0009989/0.0009988, allocations: 88.33 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 269.7 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004261, allocations: 20.84 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.722/3.884, allocations: 1.691 GB / 2.465 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/3.884, allocations: 95.94 kB / 2.465 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1387/4.023, allocations: 68.69 MB / 2.532 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.297e-06/4.023, allocations: 0 / 2.532 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.062e-05/4.023, allocations: 28 kB / 2.532 GB, free: 40.27 MB / 0.7136 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.002013/4.025, allocations: 1.227 MB / 2.534 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/4.025, allocations: 8.031 kB / 2.534 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/4.025, allocations: 147.5 kB / 2.534 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/4.026, allocations: 218.4 kB / 2.534 GB, free: 38.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/4.027, allocations: 0.6269 MB / 2.535 GB, free: 37.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/4.027, allocations: 66 kB / 2.535 GB, free: 37.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/4.027, allocations: 87.98 kB / 2.535 GB, free: 37.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/4.029, allocations: 0.9371 MB / 2.536 GB, free: 36.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/4.029, allocations: 0 / 2.536 GB, free: 36.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/4.029, allocations: 44 kB / 2.536 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/4.029, allocations: 20 kB / 2.536 GB, free: 36.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/4.03, allocations: 1.128 MB / 2.537 GB, free: 35.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/4.033, allocations: 2.511 MB / 2.539 GB, free: 33.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/4.035, allocations: 0.8961 MB / 2.54 GB, free: 32.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.105e-05/4.035, allocations: 24.69 kB / 2.54 GB, free: 32.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/4.036, allocations: 436.5 kB / 2.541 GB, free: 31.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/4.036, allocations: 4 kB / 2.541 GB, free: 31.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002681/4.039, allocations: 1.12 MB / 2.542 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/4.039, allocations: 244 kB / 2.542 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/4.039, allocations: 0.5971 MB / 2.543 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/4.04, allocations: 37.7 kB / 2.543 GB, free: 29.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/4.04, allocations: 400.2 kB / 2.543 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/4.04, allocations: 240.5 kB / 2.543 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/4.04, allocations: 12 kB / 2.543 GB, free: 28.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001012/4.04, allocations: 382.8 kB / 2.544 GB, free: 28.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/4.04, allocations: 229.2 kB / 2.544 GB, free: 28.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/4.041, allocations: 331.6 kB / 2.544 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/4.041, allocations: 267.1 kB / 2.544 GB, free: 27.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/4.041, allocations: 0 / 2.544 GB, free: 27.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001517/4.043, allocations: 0.7469 MB / 2.545 GB, free: 26.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/4.043, allocations: 4 kB / 2.545 GB, free: 26.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/4.043, allocations: 4 kB / 2.545 GB, free: 26.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/4.044, allocations: 88.77 kB / 2.545 GB, free: 26.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/4.044, allocations: 135.8 kB / 2.545 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/4.046, allocations: 1.534 MB / 2.547 GB, free: 25.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/4.046, allocations: 91.44 kB / 2.547 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/4.047, allocations: 31.97 kB / 2.547 GB, free: 24.91 MB / 0.7136 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.0004768/4.047, allocations: 253.6 kB / 2.547 GB, free: 24.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/4.047, allocations: 79.06 kB / 2.547 GB, free: 24.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/4.049, allocations: 1.021 MB / 2.548 GB, free: 23.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/4.049, allocations: 8 kB / 2.548 GB, free: 23.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/4.049, allocations: 4 kB / 2.548 GB, free: 23.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/4.049, allocations: 3.984 kB / 2.548 GB, free: 23.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/4.052, allocations: 1.946 MB / 2.55 GB, free: 21.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/4.052, allocations: 0 / 2.55 GB, free: 21.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/4.053, allocations: 147.8 kB / 2.55 GB, free: 21.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/4.053, allocations: 84.77 kB / 2.55 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/4.053, allocations: 23.98 kB / 2.55 GB, free: 21.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/4.055, allocations: 1.552 MB / 2.552 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/4.055, allocations: 0 / 2.552 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/4.056, allocations: 0.9338 MB / 2.553 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/4.057, allocations: 283.7 kB / 2.553 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/4.057, allocations: 23.97 kB / 2.553 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/4.057, allocations: 67.95 kB / 2.553 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/4.057, allocations: 64.91 kB / 2.553 GB, free: 18.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/4.058, allocations: 27.98 kB / 2.553 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005495/4.058, allocations: 491 kB / 2.554 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/4.058, allocations: 7.938 kB / 2.554 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001098/4.059, allocations: 375.1 kB / 2.554 GB, free: 17.29 MB / 0.7136 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.00351/4.063, allocations: 2.436 MB / 2.556 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001359/4.064, allocations: 0.74 MB / 2.557 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/4.064, allocations: 4 kB / 2.557 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/4.065, allocations: 0.4885 MB / 2.558 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/4.066, allocations: 243.9 kB / 2.558 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007999/4.074, allocations: 5.174 MB / 2.563 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/4.074, allocations: 1.039 MB / 2.564 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008614/4.075, allocations: 270.1 kB / 2.564 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/4.076, allocations: 375.3 kB / 2.565 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/4.076, allocations: 0 / 2.565 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3835/4.459, allocations: 29.6 MB / 2.593 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/4.459, allocations: 298.3 kB / 2.594 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/7.534, allocations: 0 / 2.594 GB, free: 225.7 MB / 0.7136 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)