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.001528/0.001528, allocations: 106.5 kB / 16.4 MB, free: 6.461 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.001894/0.001895, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.699/1.699, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9739/0.9739, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 66.45 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1689, allocations: 76.17 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002435/0.1714, allocations: 0.5766 MB / 0.6322 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.1718, allocations: 95.67 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1719, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.1719, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.172, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1723, allocations: 19.91 kB / 0.6323 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.1724, allocations: 12 kB / 0.6323 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.1724, allocations: 3.984 kB / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.1724, allocations: 4 kB / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.1725, allocations: 0 / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1725, allocations: 3.938 kB / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1726, allocations: 19.98 kB / 0.6323 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1726, allocations: 3.938 kB / 0.6323 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.1727, allocations: 7.984 kB / 0.6324 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.1728, allocations: 11.98 kB / 0.6324 GB, free: 4.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1728, allocations: 0 / 0.6324 GB, free: 4.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1728, allocations: 0 / 0.6324 GB, free: 4.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1728, allocations: 0 / 0.6324 GB, free: 4.133 MB / 478.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.0003966/0.1732, allocations: 319.9 kB / 0.6327 GB, free: 3.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1733, allocations: 8.031 kB / 0.6327 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1733, allocations: 38.75 kB / 0.6327 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1735, allocations: 12.92 kB / 0.6327 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1736, allocations: 164.4 kB / 0.6329 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1736, allocations: 4.312 kB / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1736, allocations: 384 / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1738, allocations: 42.19 kB / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1738, allocations: 7.938 kB / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.1738, allocations: 0 / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1738, allocations: 0 / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.1739, allocations: 15.98 kB / 0.6329 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.1741, allocations: 149.7 kB / 0.6331 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1743, allocations: 42.55 kB / 0.6331 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.1743, allocations: 24.84 kB / 0.6332 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1743, allocations: 0 / 0.6332 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1744, allocations: 38.56 kB / 0.6332 GB, free: 3.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1744, allocations: 0 / 0.6332 GB, free: 3.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002219/0.1746, allocations: 53.61 kB / 0.6332 GB, free: 3.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1747, allocations: 55.41 kB / 0.6333 GB, free: 2.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.395e-05/0.1747, allocations: 89.86 kB / 0.6334 GB, free: 2.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1747, allocations: 29.7 kB / 0.6334 GB, free: 2.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.1748, allocations: 80.14 kB / 0.6335 GB, free: 2.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1748, allocations: 14.62 kB / 0.6335 GB, free: 2.758 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1748, allocations: 13.72 kB / 0.6335 GB, free: 2.738 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.175, allocations: 318.8 kB / 0.6338 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.175, allocations: 4 kB / 0.6338 GB, free: 2.414 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.175, allocations: 15.92 kB / 0.6338 GB, free: 2.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.1751, allocations: 16.86 kB / 0.6339 GB, free: 2.379 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1752, allocations: 0 / 0.6339 GB, free: 2.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001321/0.1753, allocations: 57.67 kB / 0.6339 GB, free: 2.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1753, allocations: 5.875 kB / 0.6339 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1753, allocations: 3.938 kB / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1753, allocations: 0 / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.1758, allocations: 43.88 kB / 0.634 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.1773, allocations: 1.404 MB / 0.6353 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.1773, allocations: 4 kB / 0.6353 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1774, allocations: 0 / 0.6353 GB, free: 0.7188 MB / 478.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 9.323e-05/0.1775, allocations: 117.9 kB / 0.6354 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1775, allocations: 4 kB / 0.6355 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.1775, allocations: 3.828 kB / 0.6355 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1775, allocations: 3.938 kB / 0.6355 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1775, allocations: 0 / 0.6355 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1775, allocations: 7.984 kB / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1777, allocations: 161.5 kB / 0.6356 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1777, allocations: 0 / 0.6356 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.1781, allocations: 47.94 kB / 0.6357 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1781, allocations: 0 / 0.6357 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1781, allocations: 4 kB / 0.6357 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.1794, allocations: 1.408 MB / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1794, allocations: 0 / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1796, allocations: 77.14 kB / 0.6371 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.1796, allocations: 77.11 kB / 0.6372 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-06/0.1796, allocations: 3.938 kB / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.1796, allocations: 0 / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1797, allocations: 7.984 kB / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1797, allocations: 4.062 kB / 0.6372 GB, free: 14.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.1797, allocations: 75.28 kB / 0.6373 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1797, allocations: 0 / 0.6373 GB, free: 14.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1799, allocations: 8 kB / 0.6373 GB, free: 14.48 MB / 494.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.0004583/0.1804, allocations: 0.6149 MB / 0.6379 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.1809, allocations: 55.92 kB / 0.6379 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1809, allocations: 0 / 0.6379 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.1812, allocations: 51.89 kB / 0.638 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1814, allocations: 0 / 0.638 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.1819, allocations: 122.6 kB / 0.6381 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1822, allocations: 0.6768 MB / 0.6388 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.1822, allocations: 8.281 kB / 0.6388 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1823, allocations: 7.438 kB / 0.6388 GB, free: 12.85 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1823, allocations: 3.938 kB / 0.6388 GB, free: 12.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.4413, allocations: 1.305 MB / 0.6401 GB, free: 11.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.66/21.1, allocations: 3.25 kB / 0.6401 GB, free: 11.68 MB / 494.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)