Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.0009937/0.0009938, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4851/0.4851, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008671, allocations: 97.77 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.679e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.561/4.711, allocations: 1.684 GB / 2.237 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/4.712, allocations: 92.17 kB / 2.237 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1284/4.84, allocations: 57.94 MB / 2.294 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/4.84, allocations: 0 / 2.294 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001219/4.84, allocations: 26.56 kB / 2.294 GB, free: 163.1 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002931/4.843, allocations: 1.062 MB / 2.295 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/4.843, allocations: 11.75 kB / 2.295 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/4.845, allocations: 178.8 kB / 2.295 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/4.846, allocations: 0.6072 MB / 2.296 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/4.846, allocations: 30.61 kB / 2.296 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/4.847, allocations: 42.41 kB / 2.296 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001687/4.848, allocations: 0.9763 MB / 2.297 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/4.85, allocations: 0.7025 MB / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/4.85, allocations: 0 / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/4.85, allocations: 0 / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/4.85, allocations: 21.94 kB / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/4.854, allocations: 2.239 MB / 2.3 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/4.855, allocations: 0.6314 MB / 2.3 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/4.855, allocations: 236.4 kB / 2.301 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.704e-05/4.856, allocations: 32.16 kB / 2.301 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006072/4.856, allocations: 375.5 kB / 2.301 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=71): time 2.876e-06/4.856, allocations: 0 / 2.301 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71): time 0.001725/4.858, allocations: 0.6395 MB / 2.302 GB, free: 158 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/4.858, allocations: 240.1 kB / 2.302 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/4.859, allocations: 0.4944 MB / 2.302 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/4.859, allocations: 29.7 kB / 2.302 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/4.859, allocations: 372.2 kB / 2.303 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/4.859, allocations: 228.6 kB / 2.303 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/4.859, allocations: 7.938 kB / 2.303 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001383/4.86, allocations: 378.8 kB / 2.303 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/4.86, allocations: 177.5 kB / 2.303 GB, free: 156 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/4.86, allocations: 283.5 kB / 2.304 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/4.861, allocations: 236.4 kB / 2.304 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/4.861, allocations: 0 / 2.304 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001385/4.862, allocations: 0.6291 MB / 2.304 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/4.862, allocations: 8 kB / 2.304 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/4.862, allocations: 0 / 2.304 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/4.863, allocations: 84.83 kB / 2.305 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/4.863, allocations: 131.8 kB / 2.305 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/4.865, allocations: 1.461 MB / 2.306 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/4.865, allocations: 63.52 kB / 2.306 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/4.865, allocations: 23.98 kB / 2.306 GB, free: 152.9 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001901/4.866, allocations: 121.8 kB / 2.306 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001221/4.867, allocations: 0.6368 MB / 2.307 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/4.867, allocations: 71.16 kB / 2.307 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/4.869, allocations: 0.8674 MB / 2.308 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/4.869, allocations: 19.88 kB / 2.308 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/4.869, allocations: 0 / 2.308 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/4.869, allocations: 3.984 kB / 2.308 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008568/4.869, allocations: 0.7244 MB / 2.309 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/4.87, allocations: 0 / 2.309 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/4.87, allocations: 143.8 kB / 2.309 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/4.87, allocations: 84.73 kB / 2.309 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/4.871, allocations: 19.98 kB / 2.309 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/4.872, allocations: 1.477 MB / 2.31 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/4.872, allocations: 0 / 2.31 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/4.873, allocations: 0.7349 MB / 2.311 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/4.874, allocations: 275.8 kB / 2.311 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/4.874, allocations: 4 kB / 2.311 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/4.874, allocations: 51.89 kB / 2.311 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/4.874, allocations: 60.69 kB / 2.311 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/4.874, allocations: 31.98 kB / 2.311 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004457/4.875, allocations: 398.9 kB / 2.312 GB, free: 147 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/4.875, allocations: 0 / 2.312 GB, free: 147 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001092/4.876, allocations: 327.1 kB / 2.312 GB, free: 146.7 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003214/4.879, allocations: 2.254 MB / 2.314 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001082/4.88, allocations: 0.6322 MB / 2.315 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.88, allocations: 0 / 2.315 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/4.881, allocations: 436.5 kB / 2.315 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/4.882, allocations: 214.5 kB / 2.316 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/4.886, allocations: 1.459 MB / 2.317 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/4.886, allocations: 1.019 MB / 2.318 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008253/4.887, allocations: 245.7 kB / 2.318 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/4.887, allocations: 339.3 kB / 2.319 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/4.887, allocations: 3.938 kB / 2.319 GB, free: 140 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/4.937, allocations: 22.75 MB / 2.341 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/4.937, allocations: 206.3 kB / 2.341 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/7.817, allocations: 0 / 2.341 GB, free: 117.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)