Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8469/0.8469, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001196/0.001196, allocations: 181 kB / 191.5 MB, free: 5.773 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.576/1.576, allocations: 223.2 MB / 447.7 MB, free: 4.738 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.001038/0.001038, allocations: 96.31 kB / 0.5188 GB, free: 1.105 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 263.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005017, allocations: 11.41 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.3651, allocations: 108.6 MB / 0.8798 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3653, allocations: 74 kB / 0.8799 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002137/0.3675, allocations: 0.7896 MB / 0.8806 GB, free: 220 kB / 0.5417 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3675, allocations: 3.938 kB / 0.8806 GB, free: 216 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3675, allocations: 0 / 0.8806 GB, free: 216 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.35/0.7175, allocations: 344.9 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.7176, allocations: 8.891 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.7177, allocations: 15.95 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.444e-05/0.7178, allocations: 163.4 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.7178, allocations: 5.172 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.7178, allocations: 1.781 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.718, allocations: 64.55 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-06/0.718, allocations: 0.5 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.718, allocations: 6.547 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.718, allocations: 0.75 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.7183, allocations: 65.38 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.7186, allocations: 282.3 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.7188, allocations: 56.58 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.7188, allocations: 0.7812 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7189, allocations: 37.44 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.7189, allocations: 0 / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004287/0.7193, allocations: 129 kB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.7193, allocations: 53.91 kB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.7194, allocations: 98.47 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.7194, allocations: 26.83 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.7195, allocations: 88.88 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.7195, allocations: 8.156 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.7195, allocations: 0 / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.7195, allocations: 314.1 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.7197, allocations: 36.16 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.7198, allocations: 29 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.7199, allocations: 34.48 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7199, allocations: 3.953 kB / 0.8824 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002207/0.7201, allocations: 94.77 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7201, allocations: 3.812 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7201, allocations: 4 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7201, allocations: 3.938 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.7203, allocations: 13.03 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7203, allocations: 0 / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.7203, allocations: 15 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.7204, allocations: 0 / 0.8825 GB, free: 107.9 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.526e-05/0.7204, allocations: 116.5 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.7204, allocations: 3.953 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.7205, allocations: 9.281 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7205, allocations: 0 / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7205, allocations: 3.938 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7205, allocations: 0 / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7206, allocations: 167.7 kB / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7206, allocations: 0 / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.7207, allocations: 21.41 kB / 0.8829 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7207, allocations: 0 / 0.8829 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.7208, allocations: 3.969 kB / 0.8829 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7208, allocations: 0 / 0.8829 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7208, allocations: 5.125 kB / 0.8829 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.721, allocations: 190 kB / 0.883 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.7211, allocations: 80.44 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.7211, allocations: 7.828 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.7212, allocations: 12.17 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.7212, allocations: 8.656 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.7212, allocations: 0 / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.7213, allocations: 85.23 kB / 0.8832 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7213, allocations: 0 / 0.8832 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000196/0.7215, allocations: 5.531 kB / 0.8832 GB, free: 107.3 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.367e-05/0.7215, allocations: 95.38 kB / 0.8833 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.7218, allocations: 73.3 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7218, allocations: 0 / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.7219, allocations: 35.09 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.7221, allocations: 6.844 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.7224, allocations: 134.2 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.7225, allocations: 0.6818 MB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.7226, allocations: 5.734 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.7226, allocations: 7.438 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of SimCode: time 3.7e-07/0.7226, allocations: 0 / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.002124/0.7248, allocations: 0.4915 MB / 0.8847 GB, free: 106.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)