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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008837, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005416/0.005417, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005425/0.0005426, allocations: 12.5 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2583, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001727/0.2601, allocations: 1.324 MB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.261, allocations: 0.524 MB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.261, allocations: 0 / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2611, allocations: 11.92 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.2612, allocations: 11.88 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.2614, allocations: 39.95 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2615, allocations: 75.7 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2617, allocations: 36.22 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.2618, allocations: 31.84 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.2618, allocations: 31.8 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2619, allocations: 0 / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.2619, allocations: 15.98 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.262, allocations: 11.92 kB / 0.79 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.262, allocations: 57.5 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2622, allocations: 83.91 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2622, allocations: 0 / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2622, allocations: 0 / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.2622, allocations: 4 kB / 0.7902 GB, free: 9.184 MB / 0.6075 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.0004922/0.2627, allocations: 395.1 kB / 0.7906 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2627, allocations: 8.031 kB / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.2628, allocations: 42.73 kB / 0.7906 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2628, allocations: 8.844 kB / 0.7906 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.263, allocations: 202.9 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.263, allocations: 384 / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.263, allocations: 16.38 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.2633, allocations: 105.8 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2633, allocations: 0 / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2633, allocations: 8 kB / 0.7909 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2634, allocations: 3.984 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.2636, allocations: 107.9 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.2642, allocations: 388.5 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2644, allocations: 66.48 kB / 0.7915 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2645, allocations: 64.89 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.2646, allocations: 7.984 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2646, allocations: 34.56 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.2646, allocations: 3.984 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005399/0.2652, allocations: 181.5 kB / 0.7918 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2652, allocations: 55.34 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2653, allocations: 125.8 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2654, allocations: 33.7 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2654, allocations: 108.1 kB / 0.7921 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.2655, allocations: 23.64 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.2655, allocations: 13.72 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2656, allocations: 318.8 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2657, allocations: 43.97 kB / 0.7924 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2659, allocations: 51.91 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2661, allocations: 96.81 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2662, allocations: 4 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002742/0.2664, allocations: 137.5 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2665, allocations: 4 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2665, allocations: 0 / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2665, allocations: 7.938 kB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.2666, allocations: 28.36 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2666, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.2667, allocations: 11.98 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.2667, allocations: 4 kB / 0.7928 GB, free: 6.297 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.2668, allocations: 122.7 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.2669, allocations: 11.91 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.2673, allocations: 154.3 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2673, allocations: 3.938 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2673, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2673, allocations: 8 kB / 0.7931 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2675, allocations: 209.5 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2675, allocations: 0 / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.2676, allocations: 19.98 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2676, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2676, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2677, allocations: 3.938 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2677, allocations: 0 / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.268, allocations: 235.4 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.2681, allocations: 85.02 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2681, allocations: 3.984 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.2682, allocations: 15.94 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2682, allocations: 7.984 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2683, allocations: 15.88 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.2683, allocations: 102.4 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 0 / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.2686, allocations: 19.91 kB / 0.7938 GB, free: 5.199 MB / 0.6075 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 (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.0006826/0.2692, allocations: 0.771 MB / 0.7945 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.2695, allocations: 116.1 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2696, allocations: 3.938 kB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2697, allocations: 59.97 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.2699, allocations: 11.92 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.2719, allocations: 1.661 MB / 0.7963 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.2723, allocations: 0.7043 MB / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.816e-05/0.2724, allocations: 11.98 kB / 0.797 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.2725, allocations: 27.42 kB / 0.797 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of SimCode: time 4.6e-07/0.2725, allocations: 0 / 0.797 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.2839, allocations: 1.71 MB / 0.7987 GB, free: 116 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.2841, allocations: 189.6 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.89, allocations: 0 / 0.7989 GB, free: 15.86 MB / 0.6231 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/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)