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.451/1.451, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 182.4 kB / 326.5 MB, free: 2.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 2.085/2.085, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009062/0.0009062, allocations: 90 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.000373, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.4782, allocations: 132.5 MB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4786, allocations: 79.95 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005026/0.4836, allocations: 1.709 MB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4836, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4837, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 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.0004861/0.4841, allocations: 399 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4842, allocations: 8.031 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.4843, allocations: 42.55 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.4843, allocations: 15.77 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.4845, allocations: 198.8 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4845, allocations: 8 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.4846, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.4848, allocations: 111.6 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4849, allocations: 4 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4849, allocations: 4 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4849, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.4851, allocations: 107.9 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.4858, allocations: 388.6 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4859, allocations: 66.47 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.486, allocations: 8.078 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4861, allocations: 38.56 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4861, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0004867/0.4866, allocations: 173.5 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4866, allocations: 55.39 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4867, allocations: 123.8 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4868, allocations: 25.7 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.4868, allocations: 104.2 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4869, allocations: 23.8 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4869, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.487, allocations: 322.8 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.4872, allocations: 47.97 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4873, allocations: 43.91 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4874, allocations: 47.97 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4874, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002903/0.4877, allocations: 133.5 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4877, allocations: 7.953 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4878, allocations: 8 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4878, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.488, allocations: 27.92 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.488, allocations: 0 / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.4881, allocations: 11.98 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.4881, allocations: 4 kB / 1.034 GB, free: 6.66 MB / 0.6823 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 () * Number of clocked 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 0.0001367/0.4883, allocations: 122.5 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.4883, allocations: 7.906 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.4888, allocations: 158.7 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4888, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4888, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4888, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.4891, allocations: 205.6 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4891, allocations: 0 / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.4893, allocations: 23.92 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4893, allocations: 4 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4893, allocations: 4 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.4893, allocations: 7.938 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4893, allocations: 0 / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4897, allocations: 223.4 kB / 1.034 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.4898, allocations: 92.94 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.4899, allocations: 8 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.49, allocations: 8 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.4901, allocations: 11.94 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4901, allocations: 4 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.4902, allocations: 103.2 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4902, allocations: 3.938 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002433/0.4904, allocations: 15.91 kB / 1.035 GB, free: 5.578 MB / 0.6823 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 () * Number of clocked 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.000699/0.4911, allocations: 0.7748 MB / 1.035 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4914, allocations: 115.9 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4914, allocations: 0 / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4916, allocations: 63.95 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.4917, allocations: 7.953 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4929, allocations: 0.7172 MB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.4932, allocations: 0.7043 MB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.135e-05/0.4933, allocations: 19.97 kB / 1.037 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.4934, allocations: 27.44 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4934, allocations: 0 / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.5062, allocations: 1.687 MB / 1.039 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5064, allocations: 183.5 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.158, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 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)