Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.000953/0.000953, allocations: 176.9 kB / 361.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008946/0.0008946, allocations: 93.03 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.251e-05, allocations: 8 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8168, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/1.033, allocations: 138.1 MB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.033, allocations: 71.97 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005208/1.038, allocations: 1.692 MB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/1.038, allocations: 0.5 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.038, allocations: 4 kB / 1.101 GB, free: 15.95 MB / 0.7136 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.0004875/1.039, allocations: 384.7 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.039, allocations: 11.86 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/1.039, allocations: 13.84 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/1.039, allocations: 202.8 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.039, allocations: 0 / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/1.039, allocations: 4.719 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001662/1.04, allocations: 67.59 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.04, allocations: 83.33 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.04, allocations: 1.312 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.04, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.04, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/1.04, allocations: 366 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/1.04, allocations: 38.58 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/1.041, allocations: 34.94 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/1.041, allocations: 8 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.041, allocations: 34.56 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.041, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003033/1.041, allocations: 101.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.041, allocations: 51.41 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/1.041, allocations: 114.4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/1.041, allocations: 25.7 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/1.041, allocations: 108.2 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/1.041, allocations: 19.8 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/1.041, allocations: 0 / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.041, allocations: 322.8 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/1.041, allocations: 20 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/1.041, allocations: 26.67 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.33e-05/1.042, allocations: 31.98 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.042, allocations: 1.312 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/1.042, allocations: 93.56 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.042, allocations: 9.344 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.042, allocations: 4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.042, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.042, allocations: 27.92 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.042, allocations: 3.953 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/1.042, allocations: 11.98 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/1.042, allocations: 4 kB / 1.103 GB, free: 13.6 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 8.148e-05/1.042, allocations: 101 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001716/1.042, allocations: 101.6 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/1.042, allocations: 7.906 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/1.043, allocations: 119.7 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.043, allocations: 3.984 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.043, allocations: 1.5 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.043, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/1.043, allocations: 174.1 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.043, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.043, allocations: 29.42 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.043, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.043, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.043, allocations: 3.984 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.043, allocations: 3.953 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/1.043, allocations: 192.7 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/1.043, allocations: 88.94 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/1.043, allocations: 4 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/1.044, allocations: 14.62 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/1.044, allocations: 3.984 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/1.044, allocations: 7.953 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.931e-05/1.044, allocations: 101.3 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.044, allocations: 3.562 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002277/1.044, allocations: 15.91 kB / 1.104 GB, free: 12.56 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.0005339/1.045, allocations: 0.7395 MB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.045, allocations: 75.91 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.045, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/1.045, allocations: 35.98 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.045, allocations: 7.938 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/1.045, allocations: 180.2 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.046, allocations: 0.7041 MB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.025e-05/1.046, allocations: 16.62 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/1.046, allocations: 31.42 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.046, allocations: 0 / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/1.068, allocations: 1.361 MB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/1.068, allocations: 153 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.687, allocations: 0 / 1.107 GB, free: 9.176 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)