Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_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.001016/0.001016, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001319/0.001319, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.015/1.015, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1692, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.00176/0.171, allocations: 1.292 MB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.1719, allocations: 468.1 kB / 0.5992 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.172, allocations: 0 / 0.5992 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1721, allocations: 11.86 kB / 0.5993 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.1721, allocations: 15.88 kB / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1723, allocations: 31.95 kB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1725, allocations: 71.72 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1726, allocations: 36.2 kB / 0.5994 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.1727, allocations: 31.84 kB / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1728, allocations: 23.86 kB / 0.5995 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1728, allocations: 4 kB / 0.5995 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.1729, allocations: 7.984 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.173, allocations: 11.94 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.173, allocations: 41.69 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1731, allocations: 56.11 kB / 0.5996 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1731, allocations: 7.938 kB / 0.5996 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1731, allocations: 0 / 0.5996 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1732, allocations: 0 / 0.5996 GB, free: 5.582 MB / 0.4981 GB 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.000573/0.1737, allocations: 398.9 kB / 0.6 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1738, allocations: 8.031 kB / 0.6 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.1739, allocations: 42.55 kB / 0.6 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.1739, allocations: 7.906 kB / 0.6 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1741, allocations: 204.2 kB / 0.6002 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1741, allocations: 4 kB / 0.6002 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1742, allocations: 8 kB / 0.6002 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1744, allocations: 105.6 kB / 0.6003 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1745, allocations: 3.938 kB / 0.6003 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1745, allocations: 4 kB / 0.6003 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1745, allocations: 4 kB / 0.6003 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1747, allocations: 107.9 kB / 0.6004 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.1754, allocations: 388.5 kB / 0.6008 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1755, allocations: 74.55 kB / 0.6009 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1756, allocations: 52.94 kB / 0.6009 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1757, allocations: 7.984 kB / 0.6009 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1757, allocations: 38.52 kB / 0.601 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1757, allocations: 0 / 0.601 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004577/0.1762, allocations: 185.5 kB / 0.6012 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1762, allocations: 51.41 kB / 0.6012 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1763, allocations: 135.9 kB / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1764, allocations: 29.7 kB / 0.6014 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1764, allocations: 104.1 kB / 0.6015 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1765, allocations: 19.88 kB / 0.6015 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.1765, allocations: 4 kB / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1766, allocations: 314.8 kB / 0.6018 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1767, allocations: 47.97 kB / 0.6018 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.1768, allocations: 43.97 kB / 0.6019 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1769, allocations: 47.97 kB / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1769, allocations: 0 / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002562/0.1772, allocations: 145.5 kB / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1772, allocations: 7.953 kB / 0.6021 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1772, allocations: 4 kB / 0.6021 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1773, allocations: 0 / 0.6021 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1774, allocations: 23.98 kB / 0.6021 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1774, allocations: 0 / 0.6021 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.1775, allocations: 11.98 kB / 0.6021 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1775, allocations: 0 / 0.6021 GB, free: 2.777 MB / 0.4981 GB 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 9.984e-05/0.1776, allocations: 125.8 kB / 0.6022 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1777, allocations: 11.84 kB / 0.6022 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.178, allocations: 170.1 kB / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.178, allocations: 0 / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.178, allocations: 0 / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.178, allocations: 0 / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1783, allocations: 213.5 kB / 0.6026 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1783, allocations: 4.5 kB / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.1784, allocations: 19.98 kB / 0.6026 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1784, allocations: 0 / 0.6026 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1784, allocations: 0 / 0.6026 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.1784, allocations: 7.953 kB / 0.6026 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1784, allocations: 0 / 0.6026 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.1787, allocations: 239.3 kB / 0.6029 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.1788, allocations: 85.02 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.1789, allocations: 3.984 kB / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.179, allocations: 12 kB / 0.603 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.179, allocations: 15.94 kB / 0.603 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1791, allocations: 0 / 0.603 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.1791, allocations: 109.1 kB / 0.6031 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1791, allocations: 0 / 0.6031 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1794, allocations: 12 kB / 0.6031 GB, free: 1.668 MB / 0.4981 GB 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.0006605/0.18, allocations: 0.771 MB / 0.6038 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1803, allocations: 115.9 kB / 0.604 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1803, allocations: 0 / 0.604 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1805, allocations: 51.97 kB / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1807, allocations: 17.83 kB / 0.604 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.294/0.4747, allocations: 0.7072 MB / 0.6047 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.4749, allocations: 0.703 MB / 0.6054 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.475, allocations: 14.98 kB / 0.6054 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.4751, allocations: 28.14 kB / 0.6054 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of SimCode: time 1.964e-06/0.4751, allocations: 0 / 0.6054 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.4855, allocations: 1.712 MB / 0.6071 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.4858, allocations: 193.8 kB / 0.6073 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.157, allocations: 2.391 kB / 0.6073 GB, free: 39.5 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: