Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",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.001222/0.001222, 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.00136/0.00136, 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 1.976/1.976, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 262.8 kB / 291.2 MB, free: 1.883 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.218/1.218, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005941/0.0005942, allocations: 11.31 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 83.08 MB / 0.6495 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002771/0.2291, allocations: 1.341 MB / 0.6508 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2303, allocations: 465.1 kB / 0.6513 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.2305, allocations: 0 / 0.6513 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.2312, allocations: 171.5 kB / 0.6514 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.2317, allocations: 139.4 kB / 0.6516 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.2323, allocations: 173.1 kB / 0.6517 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.2326, allocations: 119.8 kB / 0.6518 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.2328, allocations: 31.78 kB / 0.6519 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.233, allocations: 63.73 kB / 0.6519 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.2333, allocations: 136.8 kB / 0.6521 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2333, allocations: 4 kB / 0.6521 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2334, allocations: 24.58 kB / 0.6521 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2336, allocations: 67.81 kB / 0.6522 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.2337, allocations: 62.11 kB / 0.6522 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.234, allocations: 203.8 kB / 0.6524 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2341, allocations: 0.7188 kB / 0.6524 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2341, allocations: 0 / 0.6524 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2341, allocations: 0.875 kB / 0.6524 GB, free: 0.5273 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00109/0.2352, allocations: 0.5554 MB / 0.653 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.2353, allocations: 9.344 kB / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.2353, allocations: 34.56 kB / 0.653 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.2354, allocations: 31.62 kB / 0.653 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.2362, allocations: 362 kB / 0.6534 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2362, allocations: 7.953 kB / 0.6534 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.2362, allocations: 4.875 kB / 0.6534 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2365, allocations: 76.47 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2365, allocations: 4 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2365, allocations: 3.938 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2366, allocations: 0 / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2368, allocations: 66.2 kB / 0.6535 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.2376, allocations: 424.5 kB / 0.6539 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2379, allocations: 54.58 kB / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.2379, allocations: 8.062 kB / 0.654 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.238, allocations: 31.81 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.238, allocations: 0 / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005789/0.2386, allocations: 136.6 kB / 0.6542 GB, free: 14.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.2386, allocations: 55.41 kB / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.2395, allocations: 0.5094 MB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2395, allocations: 29.7 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2397, allocations: 171.9 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2397, allocations: 7.891 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.2397, allocations: 0 / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.24, allocations: 346.8 kB / 0.6552 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2401, allocations: 35.91 kB / 0.6553 GB, free: 13.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2402, allocations: 23.98 kB / 0.6553 GB, free: 13.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2403, allocations: 15.98 kB / 0.6553 GB, free: 13.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2404, allocations: 0 / 0.6553 GB, free: 13.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.2407, allocations: 113.3 kB / 0.6554 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2407, allocations: 4 kB / 0.6554 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2407, allocations: 4 kB / 0.6554 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2408, allocations: 3.984 kB / 0.6554 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2409, allocations: 15.94 kB / 0.6554 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2409, allocations: 0 / 0.6554 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.241, allocations: 11.98 kB / 0.6555 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.241, allocations: 4 kB / 0.6555 GB, free: 13.21 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): 3 * 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 0.0002077/0.2413, allocations: 169.8 kB / 0.6556 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.2413, allocations: 27.62 kB / 0.6556 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.2417, allocations: 120.1 kB / 0.6558 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2418, allocations: 0 / 0.6558 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2418, allocations: 4 kB / 0.6558 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2418, allocations: 0 / 0.6558 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.2422, allocations: 265.5 kB / 0.656 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2422, allocations: 3.984 kB / 0.656 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.2423, allocations: 15.94 kB / 0.656 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2423, allocations: 4 kB / 0.656 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2423, allocations: 0 / 0.656 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2423, allocations: 0 / 0.656 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.2423, allocations: 3.984 kB / 0.656 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.2427, allocations: 211 kB / 0.6562 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.2428, allocations: 116.8 kB / 0.6564 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.2429, allocations: 4 kB / 0.6564 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.243, allocations: 7.984 kB / 0.6564 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2431, allocations: 4 kB / 0.6564 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2431, allocations: 4 kB / 0.6564 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.2437, allocations: 387.1 kB / 0.6567 GB, free: 11.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2437, allocations: 4 kB / 0.6567 GB, free: 11.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000395/0.2441, allocations: 23.91 kB / 0.6568 GB, free: 11.76 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 (3): * Single equations (assignments): 3 * 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.001876/0.246, allocations: 0.9906 MB / 0.6577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2463, allocations: 55.95 kB / 0.6578 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2463, allocations: 0 / 0.6578 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2464, allocations: 31.92 kB / 0.6578 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.2469, allocations: 41.53 kB / 0.6579 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.2505, allocations: 1.674 MB / 0.6595 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.2509, allocations: 0.7791 MB / 0.6603 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.2511, allocations: 37.92 kB / 0.6603 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2512, allocations: 83.41 kB / 0.6604 GB, free: 8.098 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2512, allocations: 0 / 0.6604 GB, free: 8.098 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2747, allocations: 4.972 MB / 0.6652 GB, free: 3.266 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/0.2751, allocations: 221.9 kB / 0.6654 GB, free: 3.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.422, allocations: 4 kB / 0.6654 GB, free: 3.023 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1) Environment - environmentSimulation: