Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001259/0.001259, allocations: 183 kB / 371.6 MB, free: 3.352 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.715/1.715, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009625/0.0009626, allocations: 95.58 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.453e-05, allocations: 8 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2892, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9282/1.217, allocations: 139.7 MB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.218, allocations: 75.75 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005023/1.223, allocations: 1.693 MB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.585e-06/1.223, allocations: 0 / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.913e-05/1.223, allocations: 3.281 kB / 1.118 GB, free: 43.14 MB / 0.7448 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.0004081/1.223, allocations: 390.8 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.223, allocations: 12.03 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/1.223, allocations: 38.95 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/1.223, allocations: 15.06 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/1.224, allocations: 196.3 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/1.224, allocations: 7.875 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.224, allocations: 4 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/1.224, allocations: 95.33 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.224, allocations: 0 / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.224, allocations: 0 / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.224, allocations: 4 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/1.224, allocations: 68.97 kB / 1.119 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/1.225, allocations: 385 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/1.225, allocations: 51.41 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/1.225, allocations: 31.36 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/1.225, allocations: 7.328 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.225, allocations: 39.27 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.225, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002459/1.225, allocations: 96.67 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.225, allocations: 55.41 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/1.225, allocations: 125.1 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.225, allocations: 25.7 kB / 1.12 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/1.225, allocations: 106.4 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/1.225, allocations: 19.03 kB / 1.12 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1.225, allocations: 0 / 1.12 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.226, allocations: 321 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/1.226, allocations: 26 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/1.226, allocations: 22.84 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/1.226, allocations: 26.78 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.226, allocations: 8 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001435/1.226, allocations: 97.95 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.226, allocations: 4 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.226, allocations: 3.953 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.226, allocations: 0.75 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.226, allocations: 23.42 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.226, allocations: 3.469 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/1.226, allocations: 12.56 kB / 1.12 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.226, allocations: 7.469 kB / 1.12 GB, free: 41.01 MB / 0.7448 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 7.47e-05/1.226, allocations: 107.7 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/1.226, allocations: 7.906 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.227, allocations: 117.7 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.227, allocations: 8.266 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.227, allocations: 0.5625 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.227, allocations: 4 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/1.227, allocations: 207.2 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.227, allocations: 4.562 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/1.227, allocations: 22.98 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.227, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.227, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.227, allocations: 0.5 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.227, allocations: 3.953 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/1.227, allocations: 200.1 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/1.227, allocations: 85.67 kB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/1.227, allocations: 3.281 kB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/1.227, allocations: 11.75 kB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/1.228, allocations: 11.98 kB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.228, allocations: 4.016 kB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.529e-05/1.228, allocations: 100 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002162/1.228, allocations: 24.75 kB / 1.121 GB, free: 40.16 MB / 0.7448 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.0004928/1.228, allocations: 0.7482 MB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.228, allocations: 67.94 kB / 1.122 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.228, allocations: 0 / 1.122 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/1.229, allocations: 45.77 kB / 1.122 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/1.229, allocations: 11.86 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/1.229, allocations: 174.4 kB / 1.122 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/1.229, allocations: 0.7052 MB / 1.123 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.014e-05/1.229, allocations: 18.92 kB / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/1.23, allocations: 28.22 kB / 1.123 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.23, allocations: 0 / 1.123 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/1.286, allocations: 1.676 MB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/1.287, allocations: 156.3 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.871, allocations: 0.6562 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)