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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 106.4 kB / 15.99 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6137/0.6137, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 71.89 kB / 493.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2537, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001383/0.2551, allocations: 0.6347 MB / 0.5567 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002022/0.2553, allocations: 97.62 kB / 0.5567 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.2553, allocations: 2.031 kB / 0.5567 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.2554, allocations: 0 / 0.5567 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.2554, allocations: 1.375 kB / 0.5567 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.2556, allocations: 13.83 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.2556, allocations: 4.969 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.2557, allocations: 7.469 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.479e-05/0.2557, allocations: 2.656 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.2558, allocations: 12.05 kB / 0.5568 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.2558, allocations: 0 / 0.5568 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.2558, allocations: 16.22 kB / 0.5568 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.2558, allocations: 3.938 kB / 0.5568 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.2559, allocations: 5.094 kB / 0.5568 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.119e-05/0.2559, allocations: 20.8 kB / 0.5568 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2559, allocations: 0 / 0.5568 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2559, allocations: 0 / 0.5568 GB, free: 35.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2559, allocations: 1.156 kB / 0.5568 GB, free: 35.83 MB / 446.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.0002084/0.2562, allocations: 319.1 kB / 0.5571 GB, free: 35.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2562, allocations: 10.66 kB / 0.5571 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.893e-05/0.2562, allocations: 31.88 kB / 0.5572 GB, free: 35.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2563, allocations: 8.25 kB / 0.5572 GB, free: 35.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.911e-05/0.2564, allocations: 162.9 kB / 0.5573 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2564, allocations: 4.406 kB / 0.5573 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.2564, allocations: 1.656 kB / 0.5573 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.247e-05/0.2565, allocations: 39.8 kB / 0.5574 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2565, allocations: 8.406 kB / 0.5574 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.2565, allocations: 0 / 0.5574 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2566, allocations: 2.75 kB / 0.5574 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.2566, allocations: 14.58 kB / 0.5574 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.949e-05/0.2567, allocations: 149.1 kB / 0.5575 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.2568, allocations: 45.98 kB / 0.5576 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2569, allocations: 11.38 kB / 0.5576 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2569, allocations: 2.312 kB / 0.5576 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.2569, allocations: 32.91 kB / 0.5576 GB, free: 34.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2569, allocations: 3.938 kB / 0.5576 GB, free: 34.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000161/0.2571, allocations: 61.58 kB / 0.5577 GB, free: 34.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.2571, allocations: 52.47 kB / 0.5578 GB, free: 34.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.158e-05/0.2571, allocations: 90.8 kB / 0.5578 GB, free: 34.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.2571, allocations: 26.77 kB / 0.5579 GB, free: 34.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-06/0.2572, allocations: 86 kB / 0.5579 GB, free: 34.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2572, allocations: 14.11 kB / 0.558 GB, free: 34.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.2572, allocations: 17.12 kB / 0.558 GB, free: 34.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.03e-05/0.2573, allocations: 312 kB / 0.5583 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.2573, allocations: 12.59 kB / 0.5583 GB, free: 34.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.2573, allocations: 11.86 kB / 0.5583 GB, free: 34.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.2574, allocations: 25.28 kB / 0.5583 GB, free: 34.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2574, allocations: 1.031 kB / 0.5583 GB, free: 34.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.582e-05/0.2575, allocations: 50.97 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2575, allocations: 5.188 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2575, allocations: 7.922 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2575, allocations: 3.484 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.2579, allocations: 44.41 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/0.2587, allocations: 1.401 MB / 0.5598 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.2587, allocations: 5.906 kB / 0.5598 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2587, allocations: 2.797 kB / 0.5598 GB, free: 32.76 MB / 446.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 3.985e-05/0.2588, allocations: 112.8 kB / 0.5599 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.2588, allocations: 0 / 0.5599 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.2588, allocations: 11.64 kB / 0.5599 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2588, allocations: 0 / 0.5599 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.2588, allocations: 1.094 kB / 0.5599 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2588, allocations: 3.797 kB / 0.5599 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.032e-05/0.2589, allocations: 156 kB / 0.5601 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2589, allocations: 2.156 kB / 0.5601 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.2592, allocations: 48.06 kB / 0.5601 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2592, allocations: 1.031 kB / 0.5601 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2592, allocations: 1.031 kB / 0.5601 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007174/0.26, allocations: 1.413 MB / 0.5615 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.26, allocations: 0.875 kB / 0.5615 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.2601, allocations: 74.78 kB / 0.5616 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.2601, allocations: 78.23 kB / 0.5617 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.2601, allocations: 9.047 kB / 0.5617 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.2601, allocations: 1.219 kB / 0.5617 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.2601, allocations: 1.375 kB / 0.5617 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2601, allocations: 5.25 kB / 0.5617 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.197e-06/0.2602, allocations: 77.53 kB / 0.5617 GB, free: 30.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2602, allocations: 0 / 0.5617 GB, free: 30.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001733/0.2603, allocations: 2.906 kB / 0.5617 GB, free: 30.75 MB / 446.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.000213/0.2606, allocations: 0.6184 MB / 0.5623 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.261, allocations: 62.75 kB / 0.5624 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.261, allocations: 0 / 0.5624 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2612, allocations: 36.14 kB / 0.5624 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.2613, allocations: 2.25 kB / 0.5624 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.2616, allocations: 135.1 kB / 0.5626 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.2617, allocations: 0.676 MB / 0.5632 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2617, allocations: 4.047 kB / 0.5632 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.2617, allocations: 12.98 kB / 0.5633 GB, free: 29.28 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.2617, allocations: 1.125 kB / 0.5633 GB, free: 29.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2443/0.5061, allocations: 1.161 MB / 0.5644 GB, free: 29.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.5063, allocations: 241.8 kB / 0.5646 GB, free: 28.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.138, allocations: 0 / 0.5646 GB, free: 28.81 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)