Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009214/0.0009213, allocations: 183.2 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009669/0.000967, allocations: 80.47 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.357e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8227/1.053, allocations: 132.7 MB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.053, allocations: 70.28 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005744/1.059, allocations: 1.689 MB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.059, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.059, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 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.0004927/1.059, allocations: 389.6 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.059, allocations: 12.03 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/1.059, allocations: 7.906 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/1.06, allocations: 194.4 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/1.06, allocations: 4 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/1.06, allocations: 7.938 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001652/1.06, allocations: 64.47 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/1.06, allocations: 82.53 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.06, allocations: 0 / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/1.06, allocations: 4 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/1.06, allocations: 4 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/1.061, allocations: 364.5 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/1.061, allocations: 40.08 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/1.061, allocations: 34.78 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/1.061, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.061, allocations: 42.2 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1.061, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002923/1.061, allocations: 91.31 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/1.061, allocations: 63.34 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/1.061, allocations: 114.2 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.061, allocations: 25.7 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/1.062, allocations: 103.3 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/1.062, allocations: 15.89 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.062, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.062, allocations: 318.3 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/1.062, allocations: 26.69 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/1.062, allocations: 27.17 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/1.062, allocations: 27.17 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.062, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001499/1.062, allocations: 99.56 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.062, allocations: 4 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.062, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.062, allocations: 3.953 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.062, allocations: 23.92 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.062, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/1.062, allocations: 26.48 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.062, allocations: 7.625 kB / 1.019 GB, free: 1.004 MB / 0.6355 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 6.74e-05/1.062, allocations: 101 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001552/1.063, allocations: 99.38 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.063, allocations: 11.86 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/1.063, allocations: 115.7 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.063, allocations: 3.938 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.063, allocations: 7.984 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.063, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.063, allocations: 176.1 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.063, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.063, allocations: 20.36 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.063, allocations: 0 / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.063, allocations: 7.562 kB / 1.019 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.063, allocations: 7.953 kB / 1.019 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.063, allocations: 3.984 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/1.063, allocations: 184.8 kB / 1.019 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/1.063, allocations: 88.58 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/1.063, allocations: 7.922 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/1.064, allocations: 8 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/1.064, allocations: 11.94 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/1.064, allocations: 4 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.315e-05/1.064, allocations: 103.8 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002328/1.064, allocations: 12 kB / 1.02 GB, free: 44 kB / 0.6355 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.00049/1.064, allocations: 0.7376 MB / 1.02 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.065, allocations: 72.84 kB / 1.02 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.065, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/1.065, allocations: 38.48 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/1.065, allocations: 10.52 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/1.065, allocations: 181.4 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/1.066, allocations: 0.7041 MB / 1.021 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.016e-05/1.066, allocations: 11.98 kB / 1.021 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/1.066, allocations: 32.42 kB / 1.021 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/1.066, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/1.088, allocations: 1.362 MB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.088, allocations: 154.2 kB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.574, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)