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.8403/0.8403, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001019/0.001019, allocations: 176.9 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.414/1.414, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0008538/0.0008539, allocations: 99.31 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 278.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.867e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.452, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5909, allocations: 108.7 MB / 0.8635 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.5912, allocations: 79.83 kB / 0.8636 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005109/0.5963, allocations: 1.74 MB / 0.8652 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5963, allocations: 0 / 0.8652 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.5964, allocations: 0 / 0.8652 GB, free: 1.402 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.0004136/0.5968, allocations: 382.3 kB / 0.8656 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5968, allocations: 11.97 kB / 0.8656 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.5969, allocations: 15.75 kB / 0.8656 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.5971, allocations: 198.8 kB / 0.8658 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.5971, allocations: 0 / 0.8658 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.5971, allocations: 4 kB / 0.8658 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.5973, allocations: 63.97 kB / 0.8659 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.5974, allocations: 79.06 kB / 0.866 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5974, allocations: 7.875 kB / 0.866 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5974, allocations: 0 / 0.866 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5975, allocations: 7.984 kB / 0.866 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.598, allocations: 357.2 kB / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.5981, allocations: 42.52 kB / 0.8664 GB, free: 124 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.5982, allocations: 36.97 kB / 0.8664 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.5982, allocations: 4 kB / 0.8664 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.5982, allocations: 34.55 kB / 0.8664 GB, free: 36 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5983, allocations: 0 / 0.8664 GB, free: 36 kB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.000246/0.5985, allocations: 93.58 kB / 0.8665 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5985, allocations: 55.36 kB / 0.8666 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.5987, allocations: 122.7 kB / 0.8667 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.5987, allocations: 29.7 kB / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.5987, allocations: 104.3 kB / 0.8668 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5988, allocations: 15.72 kB / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5988, allocations: 0 / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5989, allocations: 322.8 kB / 0.8671 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.5989, allocations: 27.92 kB / 0.8672 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.599, allocations: 20 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.5991, allocations: 31.97 kB / 0.8672 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5991, allocations: 4 kB / 0.8672 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001665/0.5992, allocations: 89.58 kB / 0.8673 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5993, allocations: 4.625 kB / 0.8673 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5993, allocations: 0 / 0.8673 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5993, allocations: 7.938 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5995, allocations: 23.97 kB / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5995, allocations: 0 / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.5996, allocations: 15.95 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.5996, allocations: 11.98 kB / 0.8674 GB, free: 15.02 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 7.239e-05/0.5997, allocations: 104.9 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.5997, allocations: 7.906 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.5999, allocations: 114.2 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5999, allocations: 3.984 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5999, allocations: 0 / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6, allocations: 0 / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.6001, allocations: 178.1 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6001, allocations: 7.984 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.6003, allocations: 19.98 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6003, allocations: 4 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6003, allocations: 0 / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6003, allocations: 0 / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6003, allocations: 0 / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.6005, allocations: 215.6 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.6006, allocations: 81.02 kB / 0.8681 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.6006, allocations: 0 / 0.8681 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6007, allocations: 11.98 kB / 0.8681 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.6007, allocations: 7.984 kB / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6008, allocations: 4 kB / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.6008, allocations: 100.7 kB / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6008, allocations: 0 / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002268/0.6011, allocations: 19.91 kB / 0.8682 GB, free: 14.08 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.0001352/0.6012, allocations: 107.2 kB / 0.8683 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.6013, allocations: 71.91 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6013, allocations: 0 / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.6014, allocations: 39.98 kB / 0.8684 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.6016, allocations: 7.625 kB / 0.8684 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.6019, allocations: 140.2 kB / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6022, allocations: 0.708 MB / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.6023, allocations: 11.98 kB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.6023, allocations: 11.44 kB / 0.8693 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6023, allocations: 0 / 0.8693 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.002373/0.6047, allocations: 0.5569 MB / 0.8698 GB, free: 12.38 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)