Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009316, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.00123, allocations: 181.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 12 kB / 495.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 77.53 MB / 0.56 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007525/0.2054, allocations: 315.7 kB / 0.5603 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.2058, allocations: 94.34 kB / 0.5604 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.2058, allocations: 8 kB / 0.5604 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.2058, allocations: 0 / 0.5604 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.2059, allocations: 0 / 0.5604 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.2061, allocations: 19.91 kB / 0.5604 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.185e-05/0.2061, allocations: 8 kB / 0.5604 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.2062, allocations: 0 / 0.5604 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2062, allocations: 4 kB / 0.5604 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2063, allocations: 7.922 kB / 0.5604 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2063, allocations: 0 / 0.5604 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.2063, allocations: 12 kB / 0.5604 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.2064, allocations: 7.984 kB / 0.5604 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2064, allocations: 29.7 kB / 0.5605 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/0.2065, allocations: 19.91 kB / 0.5605 GB, free: 8.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2065, allocations: 0 / 0.5605 GB, free: 8.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2065, allocations: 0 / 0.5605 GB, free: 8.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.2065, allocations: 0 / 0.5605 GB, free: 8.551 MB / 430.1 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.0003106/0.2068, allocations: 315.6 kB / 0.5608 GB, free: 8.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2069, allocations: 8.031 kB / 0.5608 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.2071, allocations: 16.92 kB / 0.5608 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.2072, allocations: 160.4 kB / 0.5609 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.2072, allocations: 384 / 0.5609 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.2072, allocations: 384 / 0.5609 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2073, allocations: 46.19 kB / 0.561 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2073, allocations: 192 / 0.561 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2073, allocations: 3.938 kB / 0.561 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2074, allocations: 0 / 0.561 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.2074, allocations: 15.98 kB / 0.561 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2076, allocations: 157.7 kB / 0.5612 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2078, allocations: 38.61 kB / 0.5612 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.2078, allocations: 12.91 kB / 0.5612 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2079, allocations: 3.938 kB / 0.5612 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.2079, allocations: 38.56 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2079, allocations: 4 kB / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002018/0.2081, allocations: 61.61 kB / 0.5613 GB, free: 7.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2082, allocations: 51.41 kB / 0.5614 GB, free: 7.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.205e-05/0.2082, allocations: 89.86 kB / 0.5614 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2082, allocations: 25.7 kB / 0.5615 GB, free: 7.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.2083, allocations: 80.14 kB / 0.5616 GB, free: 7.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2083, allocations: 12.03 kB / 0.5616 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.2083, allocations: 17.72 kB / 0.5616 GB, free: 7.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2084, allocations: 322.8 kB / 0.5619 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.2085, allocations: 4 kB / 0.5619 GB, free: 6.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.2085, allocations: 11.92 kB / 0.5619 GB, free: 6.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.2086, allocations: 21.12 kB / 0.5619 GB, free: 6.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2086, allocations: 0 / 0.5619 GB, free: 6.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001108/0.2087, allocations: 49.67 kB / 0.562 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2087, allocations: 7.938 kB / 0.562 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2088, allocations: 4 kB / 0.562 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2088, allocations: 7.938 kB / 0.562 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.2091, allocations: 39.94 kB / 0.562 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2104, allocations: 1.314 MB / 0.5633 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.2104, allocations: 0 / 0.5633 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2105, allocations: 4.031 kB / 0.5633 GB, free: 5.285 MB / 430.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.574e-05/0.2105, allocations: 105.8 kB / 0.5634 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.2106, allocations: 3.938 kB / 0.5634 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.2106, allocations: 7.5 kB / 0.5634 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2106, allocations: 4 kB / 0.5634 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2106, allocations: 0 / 0.5634 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2106, allocations: 64 / 0.5634 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.2107, allocations: 157.6 kB / 0.5636 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2107, allocations: 0 / 0.5636 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.2111, allocations: 51.86 kB / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2111, allocations: 0 / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2111, allocations: 0 / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.2123, allocations: 1.314 MB / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2123, allocations: 0 / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.2124, allocations: 81.02 kB / 0.565 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.2125, allocations: 77.11 kB / 0.5651 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.2125, allocations: 4.094 kB / 0.5651 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.2125, allocations: 4 kB / 0.5651 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2125, allocations: 7.984 kB / 0.5651 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2125, allocations: 0 / 0.5651 GB, free: 3.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.528e-05/0.2126, allocations: 75.28 kB / 0.5651 GB, free: 3.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2126, allocations: 0 / 0.5651 GB, free: 3.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.2128, allocations: 4 kB / 0.5652 GB, free: 3.172 MB / 430.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.2129, allocations: 99.19 kB / 0.5652 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.2134, allocations: 67.84 kB / 0.5653 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2134, allocations: 0 / 0.5653 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2137, allocations: 43.95 kB / 0.5654 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.2138, allocations: 4.547 kB / 0.5654 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.2141, allocations: 98.91 kB / 0.5655 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2144, allocations: 0.6731 MB / 0.5661 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.2144, allocations: 0 / 0.5661 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.2145, allocations: 15.44 kB / 0.5661 GB, free: 2.117 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2145, allocations: 0 / 0.5661 GB, free: 2.117 MB / 430.1 MB Notification: Performance of Templates: time 0.002282/0.2167, allocations: 386.2 kB / 0.5665 GB, free: 1.742 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)