Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 180 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008384/0.0008384, allocations: 84.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 279.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/4.031e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3798, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5205, allocations: 108.7 MB / 0.8635 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5208, allocations: 83.77 kB / 0.8636 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005595/0.5264, allocations: 1.735 MB / 0.8653 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5264, allocations: 0 / 0.8653 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.5264, allocations: 4 kB / 0.8653 GB, free: 1.371 MB / 0.5261 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.0004838/0.5269, allocations: 374.3 kB / 0.8656 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.527, allocations: 12.03 kB / 0.8656 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.527, allocations: 15.8 kB / 0.8656 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5273, allocations: 196.1 kB / 0.8658 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5273, allocations: 0 / 0.8658 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.5274, allocations: 4 kB / 0.8658 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001866/0.5275, allocations: 63.91 kB / 0.8659 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.5277, allocations: 83.34 kB / 0.866 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5278, allocations: 11.92 kB / 0.866 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5278, allocations: 7.938 kB / 0.866 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5278, allocations: 0 / 0.866 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.5285, allocations: 357.1 kB / 0.8663 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.5286, allocations: 46.56 kB / 0.8664 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5286, allocations: 28.98 kB / 0.8664 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.5287, allocations: 0 / 0.8664 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5287, allocations: 38.55 kB / 0.8664 GB, free: 12 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5287, allocations: 0 / 0.8664 GB, free: 12 kB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003151/0.529, allocations: 101.5 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5291, allocations: 55.36 kB / 0.8666 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.5292, allocations: 114.3 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5292, allocations: 25.7 kB / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.5293, allocations: 108.3 kB / 0.8668 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.5293, allocations: 15.72 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.5293, allocations: 0 / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5295, allocations: 322.8 kB / 0.8672 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.5295, allocations: 23.98 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.5296, allocations: 24 kB / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.545e-05/0.5297, allocations: 28.16 kB / 0.8672 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5297, allocations: 4 kB / 0.8672 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001787/0.5299, allocations: 97.58 kB / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5299, allocations: 4 kB / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5299, allocations: 0 / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5299, allocations: 0 / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.5301, allocations: 27.91 kB / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5301, allocations: 0 / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.5302, allocations: 19.95 kB / 0.8674 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.5303, allocations: 7.969 kB / 0.8674 GB, free: 15 MB / 0.5417 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 8.134e-05/0.5303, allocations: 105 kB / 0.8675 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.5304, allocations: 7.906 kB / 0.8675 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.5307, allocations: 114.2 kB / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5307, allocations: 0 / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5307, allocations: 4 kB / 0.8676 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5308, allocations: 0 / 0.8676 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.531, allocations: 182.1 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.531, allocations: 3.938 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5311, allocations: 23.92 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5311, allocations: 0 / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.5311, allocations: 4 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5311, allocations: 0 / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5311, allocations: 0 / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.5314, allocations: 199.3 kB / 0.868 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.5314, allocations: 85.02 kB / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.5315, allocations: 0 / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.5316, allocations: 12.17 kB / 0.8681 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.5316, allocations: 7.984 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5316, allocations: 8 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.5317, allocations: 101.5 kB / 0.8682 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.585e-06/0.5317, allocations: 4 kB / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002685/0.532, allocations: 23.84 kB / 0.8682 GB, free: 14.05 MB / 0.5417 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.0001483/0.5321, allocations: 99.19 kB / 0.8683 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.5323, allocations: 71.97 kB / 0.8684 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5323, allocations: 4 kB / 0.8684 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.5324, allocations: 39.92 kB / 0.8684 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5326, allocations: 7.953 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.533, allocations: 132.2 kB / 0.8686 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5332, allocations: 0.708 MB / 0.8693 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.5333, allocations: 11.98 kB / 0.8693 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5334, allocations: 11.44 kB / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.5334, allocations: 0 / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.002523/0.5359, allocations: 0.565 MB / 0.8698 GB, free: 12.35 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)