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.006163/0.006163, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001286/0.001286, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002526, allocations: 290 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.367/1.367, allocations: 178.5 MB / 0.5074 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 96.23 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5475, allocations: 89.12 MB / 0.7813 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002421/0.55, allocations: 1.608 MB / 0.7829 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.551, allocations: 0.5014 MB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.551, allocations: 1.062 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.5512, allocations: 11.88 kB / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.5512, allocations: 14.55 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.5515, allocations: 39.2 kB / 0.7835 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.5517, allocations: 81.45 kB / 0.7835 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.5518, allocations: 39.7 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.5519, allocations: 42.55 kB / 0.7836 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.552, allocations: 40.06 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.5521, allocations: 10.88 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.5521, allocations: 9.531 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.5522, allocations: 21.52 kB / 0.7837 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.5523, allocations: 44.5 kB / 0.7837 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.5525, allocations: 92 kB / 0.7838 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5525, allocations: 0 / 0.7838 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5525, allocations: 0 / 0.7838 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.5525, allocations: 1.281 kB / 0.7838 GB, free: 15.21 MB / 0.5606 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.0006377/0.5531, allocations: 403.9 kB / 0.7842 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5532, allocations: 13.81 kB / 0.7842 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.5532, allocations: 37.44 kB / 0.7843 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.5533, allocations: 17.56 kB / 0.7843 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5535, allocations: 198.3 kB / 0.7845 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5535, allocations: 2.75 kB / 0.7845 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.5536, allocations: 8.906 kB / 0.7845 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.5539, allocations: 106.4 kB / 0.7846 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5539, allocations: 1.375 kB / 0.7846 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5539, allocations: 4 kB / 0.7846 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5539, allocations: 5.562 kB / 0.7846 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.5542, allocations: 98.36 kB / 0.7847 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.5548, allocations: 379 kB / 0.785 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.555, allocations: 64.45 kB / 0.7851 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.5551, allocations: 45.48 kB / 0.7852 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.5551, allocations: 6.156 kB / 0.7852 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5552, allocations: 35.91 kB / 0.7852 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5552, allocations: 0 / 0.7852 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004814/0.5557, allocations: 171.8 kB / 0.7854 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5557, allocations: 56.75 kB / 0.7854 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5559, allocations: 137.5 kB / 0.7855 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.5559, allocations: 30.89 kB / 0.7856 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.556, allocations: 103.8 kB / 0.7857 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.556, allocations: 22.47 kB / 0.7857 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.5561, allocations: 23.05 kB / 0.7857 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5562, allocations: 326.1 kB / 0.786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5563, allocations: 37.12 kB / 0.7861 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5565, allocations: 42.59 kB / 0.7861 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.5567, allocations: 85.09 kB / 0.7862 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5567, allocations: 0 / 0.7862 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002857/0.557, allocations: 129.6 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.557, allocations: 5.25 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.557, allocations: 0.875 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.557, allocations: 3.938 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5572, allocations: 17.48 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5572, allocations: 1.312 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.5573, allocations: 8.391 kB / 0.7863 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.5573, allocations: 7.438 kB / 0.7863 GB, free: 12.97 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.5574, allocations: 135.2 kB / 0.7865 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.5575, allocations: 7.109 kB / 0.7865 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.5579, allocations: 136.7 kB / 0.7866 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5579, allocations: 5.031 kB / 0.7866 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5579, allocations: 0 / 0.7866 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5579, allocations: 1.094 kB / 0.7866 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.5582, allocations: 205.4 kB / 0.7868 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5582, allocations: 0 / 0.7868 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5583, allocations: 28.86 kB / 0.7868 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5583, allocations: 1.5 kB / 0.7868 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5583, allocations: 1.25 kB / 0.7868 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5583, allocations: 3.938 kB / 0.7868 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5583, allocations: 3.984 kB / 0.7869 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.5587, allocations: 216.9 kB / 0.7871 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.5588, allocations: 87.55 kB / 0.7871 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.5588, allocations: 5.156 kB / 0.7871 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.5589, allocations: 8.469 kB / 0.7872 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.559, allocations: 7.234 kB / 0.7872 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.559, allocations: 2.094 kB / 0.7872 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.376e-05/0.5591, allocations: 107.2 kB / 0.7873 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5591, allocations: 0 / 0.7873 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002337/0.5593, allocations: 17.86 kB / 0.7873 GB, free: 12.11 MB / 0.5606 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 (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.0007356/0.5601, allocations: 0.7641 MB / 0.788 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.5604, allocations: 101.8 kB / 0.7881 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5604, allocations: 4 kB / 0.7881 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.5606, allocations: 56.25 kB / 0.7882 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.5608, allocations: 14.36 kB / 0.7882 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.5627, allocations: 1.595 MB / 0.7898 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5631, allocations: 0.7079 MB / 0.7904 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.5632, allocations: 11.98 kB / 0.7905 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.5633, allocations: 31.05 kB / 0.7905 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of SimCode: time 6.713e-06/0.5633, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.5857, allocations: 2.016 MB / 0.7925 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.497, allocations: 14.39 kB / 0.7925 GB, free: 8.109 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)