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: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008403, allocations: 100.1 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.0009511/0.0009512, 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.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 266.8 kB / 291.3 MB, free: 1.922 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.7786/0.7786, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 18.28 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 83.07 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.00159/0.1334, allocations: 1.284 MB / 0.6507 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.1343, allocations: 478.1 kB / 0.6511 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.1344, allocations: 0 / 0.6511 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.1345, allocations: 7.922 kB / 0.6511 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.1345, allocations: 19.91 kB / 0.6512 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1347, allocations: 29.41 kB / 0.6512 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1349, allocations: 51.86 kB / 0.6512 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.135, allocations: 35.45 kB / 0.6513 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.1351, allocations: 27.91 kB / 0.6513 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.1352, allocations: 28.38 kB / 0.6513 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1352, allocations: 4 kB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.1353, allocations: 8.594 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.1353, allocations: 17.41 kB / 0.6514 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1353, allocations: 41.64 kB / 0.6514 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.1354, allocations: 51.91 kB / 0.6514 GB, free: 1.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1354, allocations: 0 / 0.6514 GB, free: 1.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1354, allocations: 0.6562 kB / 0.6514 GB, free: 1.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1355, allocations: 0 / 0.6514 GB, free: 1.551 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.0004874/0.136, allocations: 393.2 kB / 0.6518 GB, free: 1.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.136, allocations: 13.06 kB / 0.6518 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.136, allocations: 11.89 kB / 0.6518 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1362, allocations: 192.4 kB / 0.652 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1363, allocations: 13.42 kB / 0.652 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1363, allocations: 4 kB / 0.652 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1365, allocations: 121.7 kB / 0.6522 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1366, allocations: 0 / 0.6522 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1366, allocations: 0 / 0.6522 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1366, allocations: 0.6562 kB / 0.6522 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1368, allocations: 118.6 kB / 0.6523 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.1374, allocations: 379.9 kB / 0.6526 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1376, allocations: 64.17 kB / 0.6527 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1376, allocations: 0.5938 kB / 0.6527 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1377, allocations: 44.53 kB / 0.6527 GB, free: 84 kB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1377, allocations: 0 / 0.6527 GB, free: 84 kB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004561/0.1381, allocations: 180.8 kB / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1382, allocations: 58.88 kB / 0.653 GB, free: 15.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.1383, allocations: 131.7 kB / 0.6531 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1383, allocations: 29.7 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1384, allocations: 112.2 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1384, allocations: 19.75 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.1384, allocations: 0 / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1385, allocations: 318.8 kB / 0.6535 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1386, allocations: 45.53 kB / 0.6536 GB, free: 15.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1387, allocations: 45.47 kB / 0.6536 GB, free: 15.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1389, allocations: 57 kB / 0.6537 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1389, allocations: 3.938 kB / 0.6537 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002575/0.1391, allocations: 129.9 kB / 0.6538 GB, free: 14.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1392, allocations: 11.98 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1392, allocations: 4.062 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1392, allocations: 4 kB / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1393, allocations: 19.98 kB / 0.6539 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1394, allocations: 0 / 0.6539 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.1394, allocations: 19.94 kB / 0.6539 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1395, allocations: 4 kB / 0.6539 GB, free: 14.87 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 8.721e-05/0.1396, allocations: 113.8 kB / 0.654 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1396, allocations: 11.91 kB / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.1399, allocations: 162.2 kB / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.14, allocations: 7.984 kB / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.14, allocations: 4 kB / 0.6542 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.14, allocations: 0 / 0.6542 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1402, allocations: 201.6 kB / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1402, allocations: 0 / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1403, allocations: 23.97 kB / 0.6544 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1403, allocations: 0 / 0.6544 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1403, allocations: 0 / 0.6544 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1403, allocations: 0 / 0.6544 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1403, allocations: 4 kB / 0.6544 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.1407, allocations: 243.3 kB / 0.6546 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1408, allocations: 81.02 kB / 0.6547 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1408, allocations: 0 / 0.6547 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.1409, allocations: 19.92 kB / 0.6547 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1409, allocations: 8 kB / 0.6547 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.141, allocations: 7.984 kB / 0.6547 GB, free: 13.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.758e-05/0.141, allocations: 96.83 kB / 0.6548 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 0.6548 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1413, allocations: 19.94 kB / 0.6548 GB, free: 13.79 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.000137/0.1414, allocations: 102.8 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1417, allocations: 124 kB / 0.6551 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1417, allocations: 0 / 0.6551 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1419, allocations: 59.91 kB / 0.6551 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.142, allocations: 11.95 kB / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.1424, allocations: 249.1 kB / 0.6554 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1426, allocations: 0.7004 MB / 0.656 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.358e-05/0.1427, allocations: 15.97 kB / 0.6561 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1428, allocations: 11.44 kB / 0.6561 GB, free: 12.47 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1428, allocations: 0 / 0.6561 GB, free: 12.47 MB / 462.1 MB Notification: Performance of Templates: time 0.002886/0.1457, allocations: 0.5916 MB / 0.6566 GB, free: 11.88 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: