Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.0009328, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 262.8 kB / 291.2 MB, free: 2.008 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8319/0.8319, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 11.84 kB / 0.5684 GB, free: 38.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 83.08 MB / 0.6495 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.0005957/0.1402, allocations: 322.3 kB / 0.6498 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.223e-05/0.1403, allocations: 4 kB / 0.6498 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.034e-05/0.1403, allocations: 5.125 kB / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-06/0.1403, allocations: 0 / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1403, allocations: 0 / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.62e-05/0.1403, allocations: 0 / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.324e-05/0.1404, allocations: 0.5 kB / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.1404, allocations: 1.469 kB / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.099e-05/0.1404, allocations: 0 / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.625e-05/0.1404, allocations: 4 kB / 0.6498 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1405, allocations: 0 / 0.6498 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.1405, allocations: 1.25 kB / 0.6498 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.1405, allocations: 3.984 kB / 0.6499 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.1405, allocations: 29.69 kB / 0.6499 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.865e-05/0.1405, allocations: 5.75 kB / 0.6499 GB, free: 3.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1405, allocations: 0 / 0.6499 GB, free: 3.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1406, allocations: 0 / 0.6499 GB, free: 3.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1406, allocations: 0 / 0.6499 GB, free: 3.152 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001937/0.1408, allocations: 314 kB / 0.6502 GB, free: 2.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1408, allocations: 8.031 kB / 0.6502 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.1408, allocations: 30.56 kB / 0.6502 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.456e-05/0.1408, allocations: 0 / 0.6502 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.818e-05/0.1409, allocations: 167 kB / 0.6504 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.1409, allocations: 3.953 kB / 0.6504 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.1409, allocations: 4 kB / 0.6504 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.141, allocations: 26.2 kB / 0.6504 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.141, allocations: 0.6562 kB / 0.6504 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.141, allocations: 0.5312 kB / 0.6504 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.141, allocations: 0 / 0.6504 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.384e-05/0.1411, allocations: 4.562 kB / 0.6504 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.1412, allocations: 150.7 kB / 0.6506 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.1412, allocations: 20.19 kB / 0.6506 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.1412, allocations: 3.984 kB / 0.6506 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1413, allocations: 34.66 kB / 0.6506 GB, free: 2.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1413, allocations: 4.688 kB / 0.6506 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.454e-05/0.1414, allocations: 38.23 kB / 0.6507 GB, free: 2.191 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1414, allocations: 52.91 kB / 0.6507 GB, free: 2.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/0.1414, allocations: 89.86 kB / 0.6508 GB, free: 2.031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.1414, allocations: 29.64 kB / 0.6508 GB, free: 1.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.1415, allocations: 80.8 kB / 0.6509 GB, free: 1.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1415, allocations: 3.906 kB / 0.6509 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-06/0.1415, allocations: 0.75 kB / 0.6509 GB, free: 1.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.1416, allocations: 315.4 kB / 0.6512 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-06/0.1416, allocations: 1.031 kB / 0.6512 GB, free: 1.594 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.1416, allocations: 0 / 0.6512 GB, free: 1.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.36e-05/0.1416, allocations: 5.672 kB / 0.6512 GB, free: 1.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1416, allocations: 4 kB / 0.6512 GB, free: 1.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.862e-05/0.1417, allocations: 33.7 kB / 0.6512 GB, free: 1.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1417, allocations: 9.516 kB / 0.6513 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1417, allocations: 8.656 kB / 0.6513 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1417, allocations: 0 / 0.6513 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.1418, allocations: 5.25 kB / 0.6513 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1418, allocations: 0 / 0.6513 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-06/0.1418, allocations: 0 / 0.6513 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.1418, allocations: 0.6562 kB / 0.6513 GB, free: 1.527 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.1418, allocations: 106.4 kB / 0.6514 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.1418, allocations: 4.531 kB / 0.6514 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.1419, allocations: 11.78 kB / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.1419, allocations: 0 / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1419, allocations: 0.875 kB / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1419, allocations: 0 / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.339e-05/0.1419, allocations: 145.7 kB / 0.6515 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.142, allocations: 0.5625 kB / 0.6515 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.142, allocations: 6 kB / 0.6515 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.142, allocations: 0 / 0.6515 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.142, allocations: 0 / 0.6515 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.142, allocations: 7.938 kB / 0.6515 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.142, allocations: 0 / 0.6515 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.882e-05/0.142, allocations: 58.98 kB / 0.6516 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.1421, allocations: 77.11 kB / 0.6517 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-06/0.1421, allocations: 0 / 0.6517 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-06/0.1421, allocations: 4.75 kB / 0.6517 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1421, allocations: 6.109 kB / 0.6517 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1421, allocations: 3.984 kB / 0.6517 GB, free: 1.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.1422, allocations: 79.22 kB / 0.6518 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1422, allocations: 0 / 0.6518 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001537/0.1423, allocations: 7.938 kB / 0.6518 GB, free: 0.9336 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002224/0.1425, allocations: 0.588 MB / 0.6523 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.475e-05/0.1426, allocations: 7.938 kB / 0.6523 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1426, allocations: 0.6562 kB / 0.6524 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-06/0.1426, allocations: 6.453 kB / 0.6524 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.508e-05/0.1427, allocations: 3.953 kB / 0.6524 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.1429, allocations: 104.9 kB / 0.6525 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.1431, allocations: 0.6731 MB / 0.6531 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.517e-06/0.1431, allocations: 4 kB / 0.6531 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.1431, allocations: 9.5 kB / 0.6531 GB, free: 15.45 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1431, allocations: 0 / 0.6531 GB, free: 15.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.124/3.267, allocations: 0.6944 MB / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/3.267, allocations: 179.2 kB / 0.654 GB, free: 14.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/5.911, allocations: 0 / 0.654 GB, free: 14.64 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: