Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002057/0.002057, allocations: 184.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 96.94 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.026e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8472, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/1.087, allocations: 137.9 MB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.088, allocations: 71.97 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007618/1.095, allocations: 1.687 MB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/1.095, allocations: 0.7188 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.095, allocations: 4 kB / 1.1 GB, free: 0.8438 MB / 0.698 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.0005872/1.096, allocations: 384.7 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.096, allocations: 8.031 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/1.096, allocations: 16.25 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.096, allocations: 203.4 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.096, allocations: 0 / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/1.096, allocations: 4.719 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002262/1.097, allocations: 63.91 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.097, allocations: 82.53 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.097, allocations: 1.875 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/1.097, allocations: 2.406 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.097, allocations: 1.031 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/1.098, allocations: 365.1 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/1.098, allocations: 38.58 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/1.098, allocations: 32.97 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/1.098, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.098, allocations: 42.52 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/1.098, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003857/1.099, allocations: 97.5 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.099, allocations: 51.41 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.099, allocations: 120.3 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.099, allocations: 25.7 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/1.099, allocations: 104.2 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/1.099, allocations: 15.8 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/1.099, allocations: 4 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.099, allocations: 322.8 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/1.099, allocations: 20 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/1.099, allocations: 27.98 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.099, allocations: 31.98 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.099, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002659/1.1, allocations: 96.75 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.1, allocations: 4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.1, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.1, allocations: 11.89 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/1.1, allocations: 27.92 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.1, allocations: 2.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/1.1, allocations: 11.98 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/1.1, allocations: 4.938 kB / 1.102 GB, free: 14.48 MB / 0.7136 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 () * 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.01e-05/1.1, allocations: 108.8 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000279/1.101, allocations: 93.58 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/1.101, allocations: 15.86 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/1.101, allocations: 115.9 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.101, allocations: 3.984 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.101, allocations: 4 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.101, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/1.101, allocations: 178.1 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.101, allocations: 0 / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/1.102, allocations: 23.36 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/1.102, allocations: 4.516 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.102, allocations: 7.984 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.102, allocations: 3.953 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.102, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/1.102, allocations: 191.4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/1.102, allocations: 89 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1.102, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.102, allocations: 13.59 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/1.102, allocations: 7.938 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/1.102, allocations: 4 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.139e-05/1.102, allocations: 99.27 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.102, allocations: 3.094 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003467/1.103, allocations: 19.91 kB / 1.103 GB, free: 13.43 MB / 0.7136 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 () * 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.0006669/1.104, allocations: 0.728 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000222/1.104, allocations: 75.91 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.104, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.104, allocations: 35.98 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.104, allocations: 10.83 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/1.105, allocations: 180.2 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.105, allocations: 0.7041 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001146/1.105, allocations: 14.86 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/1.105, allocations: 31.42 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.105, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/1.137, allocations: 1.364 MB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/1.138, allocations: 137.8 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.476, allocations: 4 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)