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.8027/0.8027, allocations: 143.4 MB / 159.2 MB, free: 4.914 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.001445/0.001445, allocations: 188.5 kB / 191.9 MB, free: 5.727 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.425/1.425, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.0009739/0.000974, allocations: 107.2 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 277.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 83.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3398, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002316/0.3422, allocations: 1.495 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.3425, allocations: 95.67 kB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.3425, allocations: 0 / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.3425, allocations: 0 / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.3426, allocations: 3.938 kB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.3427, allocations: 19.97 kB / 0.7695 GB, free: 26.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.3428, allocations: 19.94 kB / 0.7695 GB, free: 26.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.3429, allocations: 11.98 kB / 0.7695 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.3429, allocations: 7.938 kB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.343, allocations: 15.92 kB / 0.7696 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.343, allocations: 0 / 0.7696 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.343, allocations: 15.98 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.3431, allocations: 4 kB / 0.7696 GB, free: 25.97 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.3431, allocations: 7.938 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.3432, allocations: 38.55 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3432, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3432, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.3432, allocations: 4 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB 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.0003332/0.3435, allocations: 339.5 kB / 0.7699 GB, free: 25.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3436, allocations: 12.03 kB / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3437, allocations: 8.922 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.3438, allocations: 180.2 kB / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3438, allocations: 384 / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3438, allocations: 4.375 kB / 0.7701 GB, free: 25.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.344, allocations: 58.23 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.344, allocations: 4.125 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.344, allocations: 7.922 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.344, allocations: 4 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3443, allocations: 47.94 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.3446, allocations: 257 kB / 0.7705 GB, free: 24.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3447, allocations: 62.47 kB / 0.7706 GB, free: 24.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.3448, allocations: 24.91 kB / 0.7706 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3448, allocations: 0 / 0.7706 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3449, allocations: 38.5 kB / 0.7706 GB, free: 24.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3449, allocations: 0 / 0.7706 GB, free: 24.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.3452, allocations: 101.6 kB / 0.7707 GB, free: 24.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.3453, allocations: 63.33 kB / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.3453, allocations: 97.86 kB / 0.7709 GB, free: 24.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.3453, allocations: 29.7 kB / 0.7709 GB, free: 24.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.3454, allocations: 80.14 kB / 0.771 GB, free: 24.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3454, allocations: 16.02 kB / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3454, allocations: 13.72 kB / 0.771 GB, free: 24.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.3455, allocations: 314.8 kB / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.3456, allocations: 23.97 kB / 0.7713 GB, free: 23.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.3457, allocations: 27.92 kB / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3458, allocations: 56.86 kB / 0.7714 GB, free: 23.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3458, allocations: 0 / 0.7714 GB, free: 23.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.3461, allocations: 85.5 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3461, allocations: 4 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3461, allocations: 0 / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3461, allocations: 0 / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.3462, allocations: 16.02 kB / 0.7715 GB, free: 23.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3462, allocations: 0 / 0.7715 GB, free: 23.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.3463, allocations: 11.98 kB / 0.7715 GB, free: 23.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3463, allocations: 0 / 0.7715 GB, free: 23.75 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3463, allocations: 109.8 kB / 0.7716 GB, free: 23.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3464, allocations: 7.938 kB / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.3464, allocations: 11.52 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3464, allocations: 0 / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3464, allocations: 4 kB / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3464, allocations: 0 / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3465, allocations: 165.6 kB / 0.7718 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3465, allocations: 0 / 0.7718 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.3466, allocations: 11.98 kB / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3466, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3466, allocations: 256 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3466, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3466, allocations: 4 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.347, allocations: 0.7551 MB / 0.7726 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.3471, allocations: 77.11 kB / 0.7726 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.3471, allocations: 8 kB / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.3472, allocations: 12.02 kB / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3472, allocations: 3.938 kB / 0.7727 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3472, allocations: 3.938 kB / 0.7727 GB, free: 22.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.134e-05/0.3472, allocations: 87.27 kB / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3472, allocations: 0 / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.3476, allocations: 8 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.287e-05/0.3476, allocations: 95.78 kB / 0.7728 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3479, allocations: 59.88 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3479, allocations: 0 / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.733e-05/0.348, allocations: 23.98 kB / 0.7729 GB, free: 22.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3483, allocations: 7.938 kB / 0.7729 GB, free: 22.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.3486, allocations: 234.3 kB / 0.7732 GB, free: 21.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.3487, allocations: 0.6848 MB / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.3488, allocations: 0 / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3488, allocations: 7.438 kB / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3488, allocations: 0 / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of Templates: time 0.001907/0.3507, allocations: 0.5206 MB / 0.7743 GB, free: 20.66 MB / 458.7 MB 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)