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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 175.5 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5922/0.5922, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008599, allocations: 98.12 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.572e-05, allocations: 10.5 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1612, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5852/0.7464, allocations: 100.1 MB / 0.6514 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.7467, allocations: 73.89 kB / 0.6515 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00236/0.7491, allocations: 0.9503 MB / 0.6524 GB, free: 9.289 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.7491, allocations: 0 / 0.6524 GB, free: 9.289 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.7491, allocations: 4 kB / 0.6524 GB, free: 9.285 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.0003015/0.7494, allocations: 323 kB / 0.6527 GB, free: 8.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.7495, allocations: 12.02 kB / 0.6527 GB, free: 8.918 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.7496, allocations: 11.94 kB / 0.6527 GB, free: 8.906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7498, allocations: 163 kB / 0.6529 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.7498, allocations: 0 / 0.6529 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7498, allocations: 4 kB / 0.6529 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.239e-05/0.7499, allocations: 7.5 kB / 0.6529 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.75, allocations: 37.69 kB / 0.6529 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.75, allocations: 0 / 0.6529 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.75, allocations: 0 / 0.6529 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.75, allocations: 3.953 kB / 0.6529 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.7502, allocations: 137.7 kB / 0.6531 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.7503, allocations: 33.73 kB / 0.6531 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.7503, allocations: 8.922 kB / 0.6531 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.7503, allocations: 4 kB / 0.6531 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.7504, allocations: 37.69 kB / 0.6531 GB, free: 8.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.7504, allocations: 0 / 0.6531 GB, free: 8.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.7505, allocations: 37.78 kB / 0.6532 GB, free: 8.344 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.7505, allocations: 51.41 kB / 0.6532 GB, free: 8.281 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.7506, allocations: 88.19 kB / 0.6533 GB, free: 8.191 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7506, allocations: 25.7 kB / 0.6533 GB, free: 8.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.7507, allocations: 80.14 kB / 0.6534 GB, free: 8.078 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.7507, allocations: 15.89 kB / 0.6534 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.7507, allocations: 0 / 0.6534 GB, free: 8.062 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7508, allocations: 314.8 kB / 0.6537 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.7509, allocations: 7.062 kB / 0.6537 GB, free: 7.742 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.7509, allocations: 0 / 0.6537 GB, free: 7.742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.7509, allocations: 7.938 kB / 0.6537 GB, free: 7.734 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7509, allocations: 0 / 0.6537 GB, free: 7.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.004e-05/0.751, allocations: 40.81 kB / 0.6538 GB, free: 7.691 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.751, allocations: 8 kB / 0.6538 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.751, allocations: 7.938 kB / 0.6538 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.751, allocations: 192 / 0.6538 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.7514, allocations: 46.17 kB / 0.6538 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.7526, allocations: 1.239 MB / 0.655 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.7526, allocations: 3.938 kB / 0.6551 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7526, allocations: 3.984 kB / 0.6551 GB, free: 6.293 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.7527, allocations: 113.1 kB / 0.6552 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.852e-05/0.7528, allocations: 41.02 kB / 0.6552 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.7528, allocations: 7.891 kB / 0.6552 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.7528, allocations: 4.125 kB / 0.6552 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7528, allocations: 0 / 0.6552 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.7528, allocations: 4 kB / 0.6552 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.7528, allocations: 0 / 0.6552 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.7529, allocations: 132.2 kB / 0.6553 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7529, allocations: 0 / 0.6553 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.7533, allocations: 51.92 kB / 0.6554 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7533, allocations: 0 / 0.6554 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.7533, allocations: 0 / 0.6554 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009536/0.7543, allocations: 1.24 MB / 0.6566 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7543, allocations: 0.6875 kB / 0.6566 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.7544, allocations: 76.02 kB / 0.6567 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.7545, allocations: 81.19 kB / 0.6568 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.7545, allocations: 0 / 0.6568 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.7545, allocations: 7.984 kB / 0.6568 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.7545, allocations: 0 / 0.6568 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.7546, allocations: 4 kB / 0.6568 GB, free: 4.363 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.7546, allocations: 75.28 kB / 0.6568 GB, free: 4.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7546, allocations: 3.938 kB / 0.6568 GB, free: 4.285 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.7548, allocations: 4 kB / 0.6568 GB, free: 4.281 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004246/0.7552, allocations: 0.6033 MB / 0.6574 GB, free: 3.656 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.7556, allocations: 47.94 kB / 0.6575 GB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7556, allocations: 0 / 0.6575 GB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.7558, allocations: 31.09 kB / 0.6575 GB, free: 3.582 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.7559, allocations: 7.938 kB / 0.6575 GB, free: 3.574 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.7562, allocations: 81.28 kB / 0.6576 GB, free: 3.461 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.7565, allocations: 0.6807 MB / 0.6583 GB, free: 2.754 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.142e-05/0.7565, allocations: 4 kB / 0.6583 GB, free: 2.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.7565, allocations: 11.42 kB / 0.6583 GB, free: 2.738 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7565, allocations: 0 / 0.6583 GB, free: 2.738 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.7758, allocations: 0.6819 MB / 0.6589 GB, free: 2.07 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.7761, allocations: 146.9 kB / 0.6591 GB, free: 1.875 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.244, allocations: 3.938 kB / 0.6591 GB, free: 1.871 MB / 458.7 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/linux/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)