Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_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.002064/0.002064, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5316/0.5316, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 107 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003793, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.189, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.98/5.169, allocations: 1.685 GB / 2.253 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/5.169, allocations: 101.9 kB / 2.254 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/5.32, allocations: 68.69 MB / 2.321 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.484e-06/5.32, allocations: 4 kB / 2.321 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001352/5.32, allocations: 28 kB / 2.321 GB, free: 102.9 MB / 0.6042 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.00337/5.324, allocations: 1.219 MB / 2.322 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/5.324, allocations: 11.97 kB / 2.322 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004608/5.324, allocations: 147.5 kB / 2.322 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/5.326, allocations: 218.5 kB / 2.322 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/5.327, allocations: 0.6269 MB / 2.323 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/5.327, allocations: 70 kB / 2.323 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/5.327, allocations: 87.98 kB / 2.323 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/5.329, allocations: 0.9409 MB / 2.324 GB, free: 99.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/5.329, allocations: 8 kB / 2.324 GB, free: 99.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/5.33, allocations: 40 kB / 2.324 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/5.33, allocations: 20 kB / 2.324 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/5.332, allocations: 1.124 MB / 2.325 GB, free: 98.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/5.337, allocations: 2.508 MB / 2.327 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/5.339, allocations: 0.8916 MB / 2.328 GB, free: 94.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/5.339, allocations: 28.67 kB / 2.328 GB, free: 94.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007945/5.34, allocations: 435.3 kB / 2.329 GB, free: 94.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 4.569e-06/5.34, allocations: 4 kB / 2.329 GB, free: 94.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.003086/5.343, allocations: 1.117 MB / 2.33 GB, free: 93.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/5.343, allocations: 240 kB / 2.33 GB, free: 92.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/5.344, allocations: 0.5932 MB / 2.331 GB, free: 92.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.288e-05/5.344, allocations: 41.7 kB / 2.331 GB, free: 92.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/5.344, allocations: 407 kB / 2.331 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/5.345, allocations: 240.5 kB / 2.331 GB, free: 91.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/5.345, allocations: 12 kB / 2.331 GB, free: 91.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001182/5.345, allocations: 386.7 kB / 2.332 GB, free: 91.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/5.345, allocations: 225.2 kB / 2.332 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/5.346, allocations: 335.6 kB / 2.332 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/5.346, allocations: 267.1 kB / 2.333 GB, free: 90.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/5.346, allocations: 0 / 2.333 GB, free: 90.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001666/5.348, allocations: 0.7354 MB / 2.333 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/5.348, allocations: 4 kB / 2.333 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.348, allocations: 0 / 2.333 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/5.349, allocations: 92.77 kB / 2.333 GB, free: 89.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/5.349, allocations: 135.8 kB / 2.333 GB, free: 89.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/5.351, allocations: 1.535 MB / 2.335 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/5.352, allocations: 87.44 kB / 2.335 GB, free: 87.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/5.352, allocations: 27.98 kB / 2.335 GB, free: 87.56 MB / 0.6042 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.0004896/5.352, allocations: 253.7 kB / 2.335 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/5.353, allocations: 79.06 kB / 2.335 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/5.355, allocations: 1.025 MB / 2.336 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/5.355, allocations: 8 kB / 2.336 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/5.355, allocations: 0 / 2.336 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/5.355, allocations: 7.984 kB / 2.336 GB, free: 86.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/5.359, allocations: 1.953 MB / 2.338 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/5.359, allocations: 0 / 2.338 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/5.359, allocations: 147.8 kB / 2.338 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/5.36, allocations: 84.77 kB / 2.339 GB, free: 83.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/5.36, allocations: 23.98 kB / 2.339 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/5.362, allocations: 1.556 MB / 2.34 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.362, allocations: 3.953 kB / 2.34 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/5.364, allocations: 0.9259 MB / 2.341 GB, free: 81.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/5.364, allocations: 287.7 kB / 2.341 GB, free: 80.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/5.364, allocations: 16 kB / 2.341 GB, free: 80.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/5.365, allocations: 71.94 kB / 2.341 GB, free: 80.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/5.365, allocations: 60.91 kB / 2.341 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/5.365, allocations: 27.98 kB / 2.341 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007424/5.366, allocations: 495 kB / 2.342 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.366, allocations: 4 kB / 2.342 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00154/5.368, allocations: 375.1 kB / 2.342 GB, free: 79.94 MB / 0.6042 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.004582/5.372, allocations: 2.433 MB / 2.345 GB, free: 77.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00159/5.374, allocations: 0.7321 MB / 2.345 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/5.374, allocations: 8.109 kB / 2.345 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/5.375, allocations: 0.4963 MB / 2.346 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/5.376, allocations: 231.7 kB / 2.346 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/5.387, allocations: 5.176 MB / 2.351 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/5.387, allocations: 1.031 MB / 2.352 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001049/5.389, allocations: 266.2 kB / 2.352 GB, free: 69.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/5.389, allocations: 379.3 kB / 2.353 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.405e-06/5.389, allocations: 0 / 2.353 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/5.441, allocations: 29.57 MB / 2.382 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/5.441, allocations: 292 kB / 2.382 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/8.5, allocations: 0 / 2.382 GB, free: 39.62 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)