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.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 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.001895/0.001896, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 286.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9474/0.9474, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 92.83 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 86.97 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003/0.1674, allocations: 1.598 MB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008967/0.1683, allocations: 0.5035 MB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1684, allocations: 4 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.805e-05/0.1686, allocations: 11.88 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.1686, allocations: 15.8 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1688, allocations: 39.89 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.169, allocations: 83.7 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1691, allocations: 44.42 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.1692, allocations: 35.91 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.1693, allocations: 39.84 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1693, allocations: 8 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.1694, allocations: 11.98 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1694, allocations: 19.92 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1695, allocations: 47.73 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1696, allocations: 83.7 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1696, allocations: 0 / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1696, allocations: 0 / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1697, allocations: 0 / 0.6828 GB, free: 14.06 MB / 494.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.0004995/0.1702, allocations: 399.1 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1702, allocations: 12.03 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.1703, allocations: 42.72 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1703, allocations: 12.75 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1705, allocations: 200.1 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1705, allocations: 12.36 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1705, allocations: 4.375 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1708, allocations: 105.8 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1708, allocations: 0 / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1708, allocations: 0 / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1708, allocations: 4 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.1711, allocations: 103.9 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.1717, allocations: 376.5 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1718, allocations: 70.48 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1719, allocations: 44.95 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.172, allocations: 7.984 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.172, allocations: 38.5 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.172, allocations: 0 / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004434/0.1725, allocations: 157.6 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1725, allocations: 63.28 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.1726, allocations: 135.6 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1726, allocations: 25.7 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1727, allocations: 104.6 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1727, allocations: 19.8 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1728, allocations: 21.72 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1729, allocations: 326.8 kB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.173, allocations: 35.97 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-05/0.1731, allocations: 40.34 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1733, allocations: 92.8 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1733, allocations: 0 / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002673/0.1736, allocations: 125.5 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1736, allocations: 4 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1736, allocations: 3.938 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1737, allocations: 7.938 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1738, allocations: 19.97 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1738, allocations: 0 / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1739, allocations: 11.84 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1739, allocations: 7.984 kB / 0.6853 GB, free: 11.25 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.174, allocations: 122.5 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.174, allocations: 7.938 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.1744, allocations: 146.2 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1744, allocations: 3.938 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1744, allocations: 3.984 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1744, allocations: 0 / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1746, allocations: 201.6 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1746, allocations: 4 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1747, allocations: 19.98 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1748, allocations: 0 / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1748, allocations: 3.984 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1748, allocations: 3.938 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1748, allocations: 128 / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1751, allocations: 231.4 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.1751, allocations: 81.02 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1752, allocations: 3.938 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.1753, allocations: 15.92 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1753, allocations: 0 / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1753, allocations: 4 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.034e-05/0.1754, allocations: 109.6 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1754, allocations: 3.938 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1757, allocations: 16 kB / 0.6862 GB, free: 10.19 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006304/0.1763, allocations: 0.7631 MB / 0.687 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.1766, allocations: 103.9 kB / 0.6871 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1766, allocations: 4 kB / 0.6871 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1767, allocations: 51.97 kB / 0.6871 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.177, allocations: 7.938 kB / 0.6871 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1788, allocations: 1.593 MB / 0.6887 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1791, allocations: 0.7041 MB / 0.6894 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1793, allocations: 19.97 kB / 0.6894 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.1793, allocations: 27.42 kB / 0.6894 GB, free: 6.793 MB / 494.1 MB Notification: Performance of SimCode: time 2.225e-06/0.1793, allocations: 0 / 0.6894 GB, free: 6.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.1969, allocations: 1.977 MB / 0.6913 GB, free: 4.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.305/9.501, allocations: 17.34 kB / 0.6914 GB, free: 4.887 MB / 494.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/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)