Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.0007495/0.0007496, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008553/0.0008555, allocations: 168.7 kB / 15.95 MB, free: 204 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.278/1.278, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001602/0.001602, allocations: 265.6 kB / 291.3 MB, free: 1.961 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.8035/0.8035, allocations: 144.7 MB / 487.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.00044, allocations: 15.19 kB / 0.5686 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 83.08 MB / 0.6497 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001591/0.1259, allocations: 1.29 MB / 0.651 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007243/0.1267, allocations: 478 kB / 0.6514 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.1267, allocations: 4 kB / 0.6514 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.793e-05/0.1268, allocations: 6.062 kB / 0.6514 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.39e-05/0.1269, allocations: 15.8 kB / 0.6514 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1271, allocations: 31.91 kB / 0.6515 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.1272, allocations: 71.77 kB / 0.6515 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1273, allocations: 35.55 kB / 0.6516 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.1274, allocations: 32.38 kB / 0.6516 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1274, allocations: 37.09 kB / 0.6516 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1275, allocations: 0 / 0.6516 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.1275, allocations: 4 kB / 0.6517 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1276, allocations: 19.92 kB / 0.6517 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1276, allocations: 38.98 kB / 0.6517 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.111e-05/0.1277, allocations: 51.89 kB / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1277, allocations: 0 / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1277, allocations: 0.75 kB / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1277, allocations: 4 kB / 0.6518 GB, free: 1.332 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004924/0.1282, allocations: 397.4 kB / 0.6521 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1283, allocations: 8.031 kB / 0.6521 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1283, allocations: 39.31 kB / 0.6522 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.1283, allocations: 7.906 kB / 0.6522 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1285, allocations: 195.9 kB / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1285, allocations: 3.953 kB / 0.6524 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1285, allocations: 9.531 kB / 0.6524 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1288, allocations: 118.2 kB / 0.6525 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1288, allocations: 0 / 0.6525 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1288, allocations: 5.25 kB / 0.6525 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1288, allocations: 7.938 kB / 0.6525 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.129, allocations: 102.2 kB / 0.6526 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.1296, allocations: 384.1 kB / 0.653 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1297, allocations: 72.48 kB / 0.6531 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1299, allocations: 54.52 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1299, allocations: 4.734 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1299, allocations: 41 kB / 0.6531 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1299, allocations: 0 / 0.6531 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.000428/0.1304, allocations: 184.4 kB / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1304, allocations: 55.36 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.1305, allocations: 135.9 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1305, allocations: 32.36 kB / 0.6535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1306, allocations: 108.3 kB / 0.6536 GB, free: 15.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1306, allocations: 23.66 kB / 0.6537 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.1306, allocations: 0 / 0.6537 GB, free: 15.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1308, allocations: 318.8 kB / 0.654 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1309, allocations: 45.84 kB / 0.654 GB, free: 14.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.131, allocations: 49.62 kB / 0.6541 GB, free: 14.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1311, allocations: 53.06 kB / 0.6541 GB, free: 14.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1311, allocations: 0 / 0.6541 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002562/0.1314, allocations: 137.5 kB / 0.6542 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1314, allocations: 9.094 kB / 0.6542 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1314, allocations: 0 / 0.6542 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1314, allocations: 0 / 0.6542 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1316, allocations: 27.97 kB / 0.6543 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1316, allocations: 3.953 kB / 0.6543 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.1317, allocations: 8 kB / 0.6543 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1317, allocations: 7.984 kB / 0.6543 GB, free: 14.54 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 (6): * Single equations (assignments): 6 * 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 7.876e-05/0.1318, allocations: 113.8 kB / 0.6544 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.1318, allocations: 7.906 kB / 0.6544 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.1321, allocations: 162.2 kB / 0.6546 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1321, allocations: 0 / 0.6546 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1322, allocations: 4 kB / 0.6546 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1322, allocations: 7.938 kB / 0.6546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1324, allocations: 197.6 kB / 0.6548 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1324, allocations: 4 kB / 0.6548 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/0.1325, allocations: 24.42 kB / 0.6548 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1325, allocations: 0 / 0.6548 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1325, allocations: 3.984 kB / 0.6548 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1325, allocations: 4 kB / 0.6548 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1325, allocations: 0 / 0.6548 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1328, allocations: 247.3 kB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.1329, allocations: 81.02 kB / 0.6551 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1329, allocations: 0 / 0.6551 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.133, allocations: 16 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.133, allocations: 7.984 kB / 0.6551 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1331, allocations: 7.984 kB / 0.6551 GB, free: 13.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.1331, allocations: 100.8 kB / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1331, allocations: 0 / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1334, allocations: 15.94 kB / 0.6553 GB, free: 13.46 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 (6): * Single equations (assignments): 6 * 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.0005748/0.1339, allocations: 0.7787 MB / 0.656 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1342, allocations: 111.9 kB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1342, allocations: 0 / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1343, allocations: 55.95 kB / 0.6562 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1345, allocations: 14 kB / 0.6562 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1357, allocations: 0.7168 MB / 0.6569 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1359, allocations: 0.7133 MB / 0.6576 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.708e-05/0.136, allocations: 15.92 kB / 0.6576 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1361, allocations: 27.42 kB / 0.6576 GB, free: 10.93 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1361, allocations: 0 / 0.6576 GB, free: 10.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.1465, allocations: 1.701 MB / 0.6593 GB, free: 9.371 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.1468, allocations: 191.5 kB / 0.6595 GB, free: 9.133 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.777, allocations: 0.5625 kB / 0.6595 GB, free: 9.133 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: