Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.746/1.746, allocations: 287.4 MB / 302.5 MB, free: 8.375 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.00107/0.00107, allocations: 196.8 kB / 371.1 MB, free: 10.84 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.706/1.706, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 99 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 16.52 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001744/0.2514, allocations: 1.296 MB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.2522, allocations: 0.5173 MB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.2523, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2524, allocations: 7.922 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.2524, allocations: 11.88 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.2527, allocations: 31.89 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.2528, allocations: 67.78 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2529, allocations: 36.22 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.253, allocations: 39.83 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.2531, allocations: 23.86 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2531, allocations: 4 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.447e-05/0.2532, allocations: 11.98 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.2532, allocations: 15.94 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2532, allocations: 33.7 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2533, allocations: 64.03 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2534, allocations: 0 / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2534, allocations: 0 / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.2534, allocations: 0 / 0.9808 GB, free: 25.96 MB / 0.6198 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.0004834/0.2539, allocations: 399.1 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2539, allocations: 8.031 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.254, allocations: 34.75 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.254, allocations: 12.84 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2542, allocations: 197.5 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2542, allocations: 4.375 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2542, allocations: 8.375 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.2544, allocations: 121.7 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2545, allocations: 0 / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2545, allocations: 4 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2545, allocations: 3.938 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.2547, allocations: 107.9 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.2552, allocations: 384.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.2554, allocations: 66.55 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2555, allocations: 52.95 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.2555, allocations: 4 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.2556, allocations: 38.56 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2556, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004195/0.256, allocations: 189.6 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.256, allocations: 55.34 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.2561, allocations: 127.7 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2561, allocations: 33.7 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.2562, allocations: 104.1 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2562, allocations: 19.7 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.2562, allocations: 0 / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.2563, allocations: 330.8 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.2564, allocations: 43.97 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.2565, allocations: 48.03 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2567, allocations: 104.8 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2567, allocations: 0 / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002252/0.2569, allocations: 137.5 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2569, allocations: 8 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2569, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.257, allocations: 3.938 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.2571, allocations: 23.97 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2571, allocations: 0 / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.2572, allocations: 12 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2572, allocations: 7.984 kB / 0.9834 GB, free: 23.1 MB / 0.6198 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 7.041e-05/0.2573, allocations: 123.1 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2573, allocations: 7.906 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2576, allocations: 158.2 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2576, allocations: 7.938 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2577, allocations: 3.984 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2577, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2578, allocations: 201.6 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2578, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.2579, allocations: 23.98 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2579, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2579, allocations: 3.984 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.258, allocations: 4.188 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.258, allocations: 4 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2582, allocations: 243.3 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.2583, allocations: 84.95 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2583, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.2584, allocations: 15.92 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.2584, allocations: 7.984 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2584, allocations: 7.984 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.2585, allocations: 105.9 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2585, allocations: 0 / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002017/0.2587, allocations: 15.91 kB / 0.9844 GB, free: 22.01 MB / 0.6198 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.0004738/0.2592, allocations: 0.7787 MB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.2595, allocations: 111.9 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2595, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2596, allocations: 59.89 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2598, allocations: 11.94 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2608, allocations: 0.7189 MB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.261, allocations: 0.7004 MB / 0.9867 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000112/0.2611, allocations: 15.98 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2612, allocations: 27.42 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2612, allocations: 0 / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.2728, allocations: 1.682 MB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/0.2729, allocations: 185.3 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.866, allocations: 6.312 kB / 0.9886 GB, free: 17.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)