Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.825/3.825, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002332/0.002332, allocations: 179.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.033/4.033, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 93.91 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008956/0.0008958, allocations: 12.25 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.334, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.7239, allocations: 131.5 MB / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004414/0.7244, allocations: 75.95 kB / 1.028 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004642/0.7291, allocations: 0.778 MB / 1.029 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.643e-06/0.7292, allocations: 3.938 kB / 1.029 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.7292, allocations: 3.938 kB / 1.029 GB, free: 13 MB / 0.6823 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.0007248/0.7299, allocations: 352.7 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.73, allocations: 8.031 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.7304, allocations: 16.92 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.7306, allocations: 168.3 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.7306, allocations: 384 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.7307, allocations: 4.375 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.7311, allocations: 66.17 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.7312, allocations: 192 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.7312, allocations: 7.938 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7312, allocations: 4 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.7319, allocations: 63.94 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.7327, allocations: 272.9 kB / 1.03 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.7333, allocations: 66.48 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.7336, allocations: 44.83 kB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.7336, allocations: 0 / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.7337, allocations: 30.56 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.7337, allocations: 0 / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.001063/0.7348, allocations: 125.6 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.7349, allocations: 51.41 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.7351, allocations: 105.8 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.7351, allocations: 29.83 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.7352, allocations: 88.08 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.7353, allocations: 3.906 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.7353, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7355, allocations: 314.8 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.7358, allocations: 31.92 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.7362, allocations: 35.97 kB / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.7365, allocations: 31.97 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.7366, allocations: 0 / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008024/0.7374, allocations: 101.6 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.7374, allocations: 5.562 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.7375, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7375, allocations: 4.031 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.7378, allocations: 15.98 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7379, allocations: 3.938 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.738, allocations: 11.98 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7381, allocations: 0 / 1.031 GB, free: 10.76 MB / 0.6823 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 0.0001593/0.7383, allocations: 117.8 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.7383, allocations: 4 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.7384, allocations: 11.45 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7384, allocations: 7.938 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7384, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7385, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.7388, allocations: 165.6 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7389, allocations: 4 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.7391, allocations: 11.98 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7391, allocations: 4 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7392, allocations: 4.25 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.7392, allocations: 4 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7392, allocations: 0 / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.74, allocations: 191.4 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.7401, allocations: 81.02 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.7401, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.7404, allocations: 11.98 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.7405, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.7405, allocations: 32 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.305e-05/0.7406, allocations: 95.2 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.01e-07/0.7406, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005358/0.7412, allocations: 4 kB / 1.031 GB, free: 9.957 MB / 0.6823 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 0.0002036/0.7414, allocations: 95.25 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.7421, allocations: 67.95 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7422, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.7425, allocations: 31.97 kB / 1.032 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.7431, allocations: 12.06 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.7438, allocations: 136.6 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.7443, allocations: 0.6809 MB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.125e-05/0.7444, allocations: 4 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.7445, allocations: 11.44 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of SimCode: time 1.924e-06/0.7445, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.005283/0.7498, allocations: 496.6 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)