Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_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.0006361/0.0006361, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007204/0.0007202, allocations: 175.3 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5914/0.5914, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.0002611, allocations: 16.2 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001554/0.1284, allocations: 1.274 MB / 0.5581 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00077/0.1292, allocations: 488.1 kB / 0.5586 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.1292, allocations: 3.938 kB / 0.5586 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.392e-05/0.1293, allocations: 3.938 kB / 0.5586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.1294, allocations: 7.922 kB / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1296, allocations: 31.91 kB / 0.5587 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.1297, allocations: 79.7 kB / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1298, allocations: 28.22 kB / 0.5588 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.1299, allocations: 35.84 kB / 0.5588 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.13, allocations: 31.84 kB / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.13, allocations: 0 / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.13, allocations: 8 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.1301, allocations: 19.91 kB / 0.5588 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1301, allocations: 37.64 kB / 0.5589 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.1302, allocations: 56.12 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1302, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1302, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1302, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.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.0004262/0.1306, allocations: 399 kB / 0.5593 GB, free: 9.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1307, allocations: 12.03 kB / 0.5593 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.1307, allocations: 34.56 kB / 0.5594 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1308, allocations: 11.84 kB / 0.5594 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1309, allocations: 196.9 kB / 0.5596 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.1309, allocations: 11.88 kB / 0.5596 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.131, allocations: 8 kB / 0.5596 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1312, allocations: 113.6 kB / 0.5597 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1312, allocations: 0 / 0.5597 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1312, allocations: 8 kB / 0.5597 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1312, allocations: 0 / 0.5597 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.1315, allocations: 103.9 kB / 0.5598 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.132, allocations: 392.5 kB / 0.5602 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1321, allocations: 58.55 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1323, allocations: 64.95 kB / 0.5603 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1323, allocations: 4 kB / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1323, allocations: 38.5 kB / 0.5603 GB, free: 7.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1323, allocations: 0 / 0.5603 GB, free: 7.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004321/0.1328, allocations: 181.5 kB / 0.5605 GB, free: 7.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1328, allocations: 55.39 kB / 0.5606 GB, free: 7.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.1329, allocations: 126 kB / 0.5607 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1329, allocations: 29.7 kB / 0.5607 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.133, allocations: 100.2 kB / 0.5608 GB, free: 7.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.133, allocations: 31.78 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.133, allocations: 0 / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1332, allocations: 326.8 kB / 0.5611 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1333, allocations: 43.97 kB / 0.5612 GB, free: 7.023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.226e-05/0.1334, allocations: 47.97 kB / 0.5612 GB, free: 6.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1335, allocations: 47.91 kB / 0.5613 GB, free: 6.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1335, allocations: 0 / 0.5613 GB, free: 6.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002611/0.1338, allocations: 137.5 kB / 0.5614 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1338, allocations: 6.344 kB / 0.5614 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1338, allocations: 0 / 0.5614 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1338, allocations: 0 / 0.5614 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1339, allocations: 23.97 kB / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.134, allocations: 0 / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.134, allocations: 16 kB / 0.5614 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1341, allocations: 4 kB / 0.5614 GB, free: 6.742 MB / 430.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.818e-05/0.1341, allocations: 121.8 kB / 0.5616 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1342, allocations: 7.906 kB / 0.5616 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1345, allocations: 162.3 kB / 0.5617 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1345, allocations: 3.938 kB / 0.5617 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1345, allocations: 0 / 0.5617 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1345, allocations: 3.984 kB / 0.5617 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1347, allocations: 209.9 kB / 0.5619 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1347, allocations: 3.938 kB / 0.5619 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.1348, allocations: 19.98 kB / 0.562 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1349, allocations: 4 kB / 0.562 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1349, allocations: 11.98 kB / 0.562 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1349, allocations: 3.984 kB / 0.562 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1349, allocations: 0 / 0.562 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1352, allocations: 239.3 kB / 0.5622 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.1352, allocations: 85 kB / 0.5623 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1352, allocations: 4 kB / 0.5623 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.1353, allocations: 8 kB / 0.5623 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1354, allocations: 11.97 kB / 0.5623 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1354, allocations: 4 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.1355, allocations: 103.2 kB / 0.5624 GB, free: 5.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1355, allocations: 0 / 0.5624 GB, free: 5.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1357, allocations: 20 kB / 0.5624 GB, free: 5.637 MB / 430.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.0005536/0.1363, allocations: 0.7754 MB / 0.5632 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1365, allocations: 107.9 kB / 0.5633 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1365, allocations: 0 / 0.5633 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1367, allocations: 63.89 kB / 0.5634 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.1369, allocations: 8 kB / 0.5634 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.138, allocations: 0.714 MB / 0.5641 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1383, allocations: 0.7004 MB / 0.5647 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.1384, allocations: 15.98 kB / 0.5648 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1385, allocations: 31.42 kB / 0.5648 GB, free: 3.125 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1385, allocations: 0 / 0.5648 GB, free: 3.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.1489, allocations: 1.685 MB / 0.5664 GB, free: 1.574 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.1492, allocations: 175.9 kB / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.584, allocations: 0 / 0.5666 GB, free: 1.336 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: