Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate",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.001689/0.001689, allocations: 100.3 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.002267/0.002267, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.596/2.596, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003409/0.003409, allocations: 274.7 kB / 291.2 MB, free: 1.871 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 1.737/1.737, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006551, allocations: 12.59 kB / 0.5684 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3394, allocations: 83.1 MB / 0.6495 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002735/0.3423, allocations: 1.143 MB / 0.6507 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3444, allocations: 0.7647 MB / 0.6514 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.3445, allocations: 0 / 0.6514 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.3449, allocations: 127.7 kB / 0.6515 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.345, allocations: 68.5 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.3459, allocations: 131.2 kB / 0.6517 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3461, allocations: 51.92 kB / 0.6518 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.3461, allocations: 3.938 kB / 0.6518 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3462, allocations: 39.83 kB / 0.6518 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3464, allocations: 64.36 kB / 0.6519 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3464, allocations: 0.75 kB / 0.6519 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.347, allocations: 211.7 kB / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3471, allocations: 65.02 kB / 0.6521 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.3472, allocations: 41.58 kB / 0.6522 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.3475, allocations: 199.9 kB / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3476, allocations: 1.031 kB / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.3476, allocations: 0 / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3476, allocations: 0 / 0.6524 GB, free: 0.6055 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009999/0.3486, allocations: 496 kB / 0.6528 GB, free: 76 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.491e-05/0.3487, allocations: 13.28 kB / 0.6529 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.3488, allocations: 30.56 kB / 0.6529 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.3488, allocations: 19.72 kB / 0.6529 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3493, allocations: 251.2 kB / 0.6531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3493, allocations: 11.89 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3494, allocations: 4.469 kB / 0.6532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3496, allocations: 87.88 kB / 0.6532 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3496, allocations: 0 / 0.6532 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3497, allocations: 0 / 0.6532 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3497, allocations: 0.7188 kB / 0.6532 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.3499, allocations: 94.16 kB / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008591/0.3508, allocations: 402.5 kB / 0.6537 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3511, allocations: 96.72 kB / 0.6538 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.3512, allocations: 28.02 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.3512, allocations: 31.56 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 2.004e-05/0.3513, allocations: 2.562 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005957/0.3519, allocations: 194.9 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.352, allocations: 51.41 kB / 0.6541 GB, free: 14.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.3524, allocations: 352.5 kB / 0.6544 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3525, allocations: 25.7 kB / 0.6545 GB, free: 14.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3527, allocations: 141.8 kB / 0.6546 GB, free: 14.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.3527, allocations: 7.844 kB / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.3527, allocations: 0 / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.353, allocations: 338.8 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3532, allocations: 102.8 kB / 0.655 GB, free: 13.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3534, allocations: 99.95 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3536, allocations: 110.4 kB / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3536, allocations: 0 / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004223/0.354, allocations: 260.7 kB / 0.6555 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.3541, allocations: 7.984 kB / 0.6555 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3541, allocations: 4.125 kB / 0.6555 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3541, allocations: 3.938 kB / 0.6555 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3542, allocations: 8 kB / 0.6555 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3542, allocations: 0 / 0.6555 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.3543, allocations: 19.83 kB / 0.6555 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3543, allocations: 4 kB / 0.6555 GB, free: 13.18 MB / 462.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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 0.0001645/0.3545, allocations: 153.7 kB / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.3546, allocations: 23.72 kB / 0.6557 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.355, allocations: 146.6 kB / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.355, allocations: 4 kB / 0.6558 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.355, allocations: 7.922 kB / 0.6558 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.355, allocations: 4.031 kB / 0.6558 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.3553, allocations: 237.6 kB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3553, allocations: 3.984 kB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3554, allocations: 16 kB / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3554, allocations: 0 / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3554, allocations: 0 / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3554, allocations: 0 / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3555, allocations: 0 / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.3558, allocations: 247.1 kB / 0.6563 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.356, allocations: 104.9 kB / 0.6564 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.356, allocations: 0 / 0.6564 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.3561, allocations: 16.02 kB / 0.6564 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3562, allocations: 0 / 0.6564 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3562, allocations: 0 / 0.6564 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.3565, allocations: 253.9 kB / 0.6567 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3565, allocations: 0 / 0.6567 GB, free: 11.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000484/0.3569, allocations: 75.91 kB / 0.6568 GB, free: 11.82 MB / 462.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 (2): * Single equations (assignments): 2 * 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.0009735/0.3579, allocations: 0.8254 MB / 0.6576 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.3583, allocations: 167.9 kB / 0.6577 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3583, allocations: 0 / 0.6577 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3585, allocations: 51.97 kB / 0.6578 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3588, allocations: 14.53 kB / 0.6578 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3599, allocations: 0.6565 MB / 0.6584 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.3604, allocations: 0.7446 MB / 0.6592 GB, free: 9.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.3605, allocations: 16.55 kB / 0.6592 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.3606, allocations: 55.41 kB / 0.6592 GB, free: 9.188 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3606, allocations: 0 / 0.6592 GB, free: 9.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.3863, allocations: 4.24 MB / 0.6634 GB, free: 5.141 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.3867, allocations: 205.8 kB / 0.6636 GB, free: 4.898 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.127, allocations: 0 / 0.6636 GB, free: 4.898 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) Environment - environmentSimulation: