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.694/1.694, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001291/0.001291, allocations: 168.9 kB / 366.7 MB, free: 1.66 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.593/1.593, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008026/0.0008026, allocations: 89.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.637e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6482, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.8381, allocations: 139 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.8384, allocations: 71.95 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005146/0.8436, allocations: 1.686 MB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8436, allocations: 1.75 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.8436, allocations: 4 kB / 1.111 GB, free: 9.355 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.0004184/0.8441, allocations: 387.5 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.8441, allocations: 12.03 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.8442, allocations: 13.44 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.8444, allocations: 198.8 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.8444, allocations: 2.953 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.8444, allocations: 7.984 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/0.8445, allocations: 57.45 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.8447, allocations: 89.58 kB / 1.112 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8447, allocations: 4 kB / 1.112 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8447, allocations: 3.984 kB / 1.112 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.8447, allocations: 2.406 kB / 1.112 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.8453, allocations: 352.4 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.8454, allocations: 44.41 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.8454, allocations: 32.98 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.8455, allocations: 3.984 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.8455, allocations: 35.56 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.8455, allocations: 0 / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002631/0.8458, allocations: 99.41 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.8458, allocations: 55.12 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.8459, allocations: 115.4 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.846, allocations: 25.7 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.846, allocations: 108.2 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.846, allocations: 25.09 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.846, allocations: 0 / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.8462, allocations: 318.8 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.8462, allocations: 27.98 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.8462, allocations: 26.67 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.8463, allocations: 27.98 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8463, allocations: 0 / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001603/0.8465, allocations: 93.58 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8465, allocations: 4.625 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8465, allocations: 3.938 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.8466, allocations: 0 / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.8467, allocations: 23.97 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8467, allocations: 11.95 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.8468, allocations: 8 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.8468, allocations: 8.484 kB / 1.113 GB, free: 7 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 6.504e-05/0.8469, allocations: 108.9 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001648/0.8471, allocations: 93.58 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.8471, allocations: 11.89 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.8473, allocations: 110.2 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8473, allocations: 4 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8474, allocations: 6.562 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8474, allocations: 0 / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.8475, allocations: 182.1 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8476, allocations: 0 / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.8477, allocations: 23.97 kB / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8477, allocations: 4 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.8477, allocations: 0 / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8477, allocations: 0 / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8477, allocations: 7.953 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.8479, allocations: 191.4 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.848, allocations: 81.02 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.848, allocations: 0 / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.8481, allocations: 11.98 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.8481, allocations: 8 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8482, allocations: 15.94 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.8482, allocations: 101.1 kB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.8482, allocations: 0 / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002276/0.8485, allocations: 19.89 kB / 1.114 GB, free: 5.949 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.0004605/0.8489, allocations: 0.7316 MB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.8491, allocations: 71.92 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8491, allocations: 0 / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.8491, allocations: 39.98 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.8493, allocations: 7.938 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.8497, allocations: 184.4 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.85, allocations: 0.7039 MB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.753e-05/0.8501, allocations: 24.75 kB / 1.116 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.8501, allocations: 27.42 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8501, allocations: 0 / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.8685, allocations: 1.355 MB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.8688, allocations: 137.5 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.552, allocations: 3.703 kB / 1.117 GB, free: 2.574 MB / 0.7136 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)