Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 104.6 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 193.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.078/1.078, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003187/0.003187, allocations: 66.17 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.268, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.004128/0.2722, allocations: 1.599 MB / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2735, allocations: 0.5035 MB / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2737, allocations: 4 kB / 0.6336 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.2738, allocations: 11.88 kB / 0.6337 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.2739, allocations: 11.81 kB / 0.6337 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.2743, allocations: 35.94 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2745, allocations: 91.58 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.2747, allocations: 36.22 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.2749, allocations: 51.77 kB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.275, allocations: 35.84 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.2751, allocations: 4 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.2752, allocations: 16 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.2752, allocations: 23.92 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.2753, allocations: 43.72 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.2755, allocations: 90.52 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2755, allocations: 0 / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2756, allocations: 0 / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2756, allocations: 0 / 0.6341 GB, free: 2.328 MB / 478.1 MB 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.0007352/0.2763, allocations: 399.9 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.2764, allocations: 8.031 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.2765, allocations: 42.69 kB / 0.6345 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.2765, allocations: 12.84 kB / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2768, allocations: 196.1 kB / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2768, allocations: 8.375 kB / 0.6347 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2768, allocations: 4.375 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.2772, allocations: 112.3 kB / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2772, allocations: 0 / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2772, allocations: 0 / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2773, allocations: 4 kB / 0.6348 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.2776, allocations: 99.88 kB / 0.6349 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.2784, allocations: 380.5 kB / 0.6353 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.2787, allocations: 62.48 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2789, allocations: 52.95 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.279, allocations: 4 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2791, allocations: 30.56 kB / 0.6354 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.2791, allocations: 0 / 0.6354 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007105/0.2798, allocations: 169.4 kB / 0.6356 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2799, allocations: 59.34 kB / 0.6356 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.28, allocations: 137.1 kB / 0.6358 GB, free: 400 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.28, allocations: 25.7 kB / 0.6358 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.2801, allocations: 108.1 kB / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.2802, allocations: 15.72 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.2802, allocations: 21.7 kB / 0.6359 GB, free: 212 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2804, allocations: 314.8 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2806, allocations: 43.97 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2807, allocations: 39.97 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.281, allocations: 93.17 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.281, allocations: 3.938 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003242/0.2813, allocations: 125.6 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2813, allocations: 8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2813, allocations: 0 / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2814, allocations: 3.938 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2816, allocations: 19.98 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2816, allocations: 0 / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.2817, allocations: 11.89 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.2817, allocations: 8 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2819, allocations: 121.8 kB / 0.6367 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2819, allocations: 11.91 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.2824, allocations: 150.2 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2824, allocations: 3.938 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2824, allocations: 0 / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2825, allocations: 0 / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.2828, allocations: 205.6 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2829, allocations: 0 / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.283, allocations: 15.98 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.2831, allocations: 8 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2831, allocations: 0 / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2831, allocations: 3.938 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2831, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.2837, allocations: 227.5 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.2838, allocations: 85.02 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2839, allocations: 0 / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.284, allocations: 15.92 kB / 0.6374 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.2841, allocations: 7.984 kB / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2842, allocations: 8 kB / 0.6374 GB, free: 14.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2843, allocations: 95.27 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2843, allocations: 0 / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.2847, allocations: 20 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.2858, allocations: 0.7631 MB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.2862, allocations: 99.88 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2863, allocations: 0 / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2865, allocations: 55.97 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.2868, allocations: 5.812 kB / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.2898, allocations: 1.607 MB / 0.64 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.2903, allocations: 0.7118 MB / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.2906, allocations: 19.95 kB / 0.6407 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.2907, allocations: 23.42 kB / 0.6407 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 3.086e-06/0.2907, allocations: 4 kB / 0.6407 GB, free: 11.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1962/0.4869, allocations: 2.023 MB / 0.6427 GB, free: 9.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.81, allocations: 11.91 kB / 0.6427 GB, free: 9.094 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)