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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002423/0.002423, allocations: 281.4 kB / 309.8 MB, free: 3.434 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.095/1.095, allocations: 180.6 MB / 0.5338 GB, free: 12.42 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 103.8 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5896, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002653/0.5922, allocations: 1.638 MB / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.5932, allocations: 0.608 MB / 0.83 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.5932, allocations: 3.531 kB / 0.83 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.5934, allocations: 14.58 kB / 0.83 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.079e-05/0.5934, allocations: 8.812 kB / 0.83 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.5937, allocations: 61 kB / 0.8301 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.5938, allocations: 92.31 kB / 0.8301 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.594, allocations: 33.3 kB / 0.8302 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.5941, allocations: 42.38 kB / 0.8302 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.5942, allocations: 44.95 kB / 0.8303 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.5942, allocations: 5.156 kB / 0.8303 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.5943, allocations: 16.48 kB / 0.8303 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.5943, allocations: 23.16 kB / 0.8303 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.5944, allocations: 42.39 kB / 0.8303 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.5945, allocations: 99.53 kB / 0.8304 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5946, allocations: 4 kB / 0.8304 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5946, allocations: 4 kB / 0.8304 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5946, allocations: 0 / 0.8304 GB, free: 1.246 MB / 0.5762 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.0005173/0.5951, allocations: 409.6 kB / 0.8308 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5951, allocations: 8.906 kB / 0.8308 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.504e-05/0.5951, allocations: 3.25 kB / 0.8309 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.5952, allocations: 39.91 kB / 0.8309 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.5954, allocations: 39.47 kB / 0.8309 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5956, allocations: 209.2 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5957, allocations: 8.062 kB / 0.8311 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.5957, allocations: 8.406 kB / 0.8311 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.5959, allocations: 108.3 kB / 0.8312 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5959, allocations: 0 / 0.8312 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.596, allocations: 10.81 kB / 0.8313 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.596, allocations: 0 / 0.8313 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.5962, allocations: 97.27 kB / 0.8313 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.5967, allocations: 382.1 kB / 0.8317 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5968, allocations: 57.89 kB / 0.8318 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.5969, allocations: 49.03 kB / 0.8318 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.597, allocations: 11.39 kB / 0.8318 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.597, allocations: 35.3 kB / 0.8319 GB, free: 72 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.597, allocations: 0 / 0.8319 GB, free: 72 kB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004637/0.5974, allocations: 166.8 kB / 0.832 GB, free: 4 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.5975, allocations: 56.06 kB / 0.8321 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5976, allocations: 137.8 kB / 0.8322 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.5977, allocations: 29.7 kB / 0.8322 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.5977, allocations: 105.4 kB / 0.8323 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.5978, allocations: 21 kB / 0.8324 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5978, allocations: 20.48 kB / 0.8324 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.598, allocations: 320.5 kB / 0.8327 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.5981, allocations: 41.64 kB / 0.8327 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.5982, allocations: 43.03 kB / 0.8328 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.5984, allocations: 93.39 kB / 0.8328 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5984, allocations: 0 / 0.8328 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002843/0.5987, allocations: 127.1 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5987, allocations: 13.52 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5987, allocations: 0 / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5987, allocations: 0.7031 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5989, allocations: 17.75 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.5989, allocations: 0.7969 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.5989, allocations: 13.23 kB / 0.833 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.599, allocations: 7.359 kB / 0.833 GB, free: 15.22 MB / 0.5919 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.000102/0.5991, allocations: 125 kB / 0.8331 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.5991, allocations: 19.11 kB / 0.8332 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.5995, allocations: 142.9 kB / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5995, allocations: 0.75 kB / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5995, allocations: 0 / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5995, allocations: 2.625 kB / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.5997, allocations: 199.7 kB / 0.8335 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5997, allocations: 4.453 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5998, allocations: 21.95 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5998, allocations: 2.625 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5998, allocations: 2.062 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5998, allocations: 4.188 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5998, allocations: 0 / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.6002, allocations: 232.1 kB / 0.8337 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.6002, allocations: 92.22 kB / 0.8338 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.6002, allocations: 7.422 kB / 0.8338 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.6003, allocations: 8.641 kB / 0.8338 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.6004, allocations: 7.922 kB / 0.8339 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6004, allocations: 3.938 kB / 0.8339 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.6005, allocations: 106.9 kB / 0.834 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6005, allocations: 0 / 0.834 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002371/0.6007, allocations: 16.66 kB / 0.834 GB, free: 14.43 MB / 0.5919 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.0006786/0.6014, allocations: 0.7697 MB / 0.8347 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.6017, allocations: 96.72 kB / 0.8348 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6017, allocations: 0 / 0.8348 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6018, allocations: 56.28 kB / 0.8349 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.602, allocations: 4 kB / 0.8349 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.6039, allocations: 1.629 MB / 0.8365 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.6043, allocations: 0.7058 MB / 0.8372 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.6044, allocations: 18.17 kB / 0.8372 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.6044, allocations: 31.52 kB / 0.8372 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6044, allocations: 0 / 0.8372 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.6236, allocations: 2.154 MB / 0.8393 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.033, allocations: 5.828 kB / 0.8393 GB, free: 11.21 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.012152069015428] Failed to read output from testmodel.py, exit status != 0: 9.157719613984227 9.184290677 8.585000726 Calling exit ...