Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 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.001144/0.001144, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 287 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 107.2 kB / 0.5954 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1457, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001773/0.1475, allocations: 0.5703 MB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.1478, allocations: 109.3 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.1478, allocations: 0 / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1478, allocations: 0 / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.1479, allocations: 0 / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1481, allocations: 24.56 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.1481, allocations: 8 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1482, allocations: 2.469 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.1482, allocations: 4 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.1483, allocations: 0 / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1483, allocations: 3.938 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.1484, allocations: 15.98 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.1484, allocations: 3.984 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1484, allocations: 9.984 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.753e-05/0.1485, allocations: 15.98 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1485, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1485, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1485, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.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.0003316/0.1488, allocations: 320.6 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1489, allocations: 8.906 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.1489, allocations: 34.75 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1491, allocations: 9.547 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.1492, allocations: 169.6 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1492, allocations: 4.375 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.1492, allocations: 384 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1493, allocations: 39 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1493, allocations: 7.875 kB / 0.6816 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1494, allocations: 4 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1494, allocations: 4 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1495, allocations: 7.984 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1496, allocations: 153.7 kB / 0.6818 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1498, allocations: 46.53 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.1498, allocations: 16.92 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1499, allocations: 0 / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1499, allocations: 30.56 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1499, allocations: 0 / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001975/0.1501, allocations: 57.61 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1501, allocations: 51.41 kB / 0.682 GB, free: 14.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.1502, allocations: 93.8 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1502, allocations: 37.7 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.1502, allocations: 80.14 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1502, allocations: 11.8 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1503, allocations: 13.72 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1504, allocations: 314.8 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.1504, allocations: 7.984 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.1505, allocations: 4 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.1506, allocations: 24.84 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1506, allocations: 0 / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001094/0.1507, allocations: 45.97 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1507, allocations: 8 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1507, allocations: 3.938 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1507, allocations: 0 / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.1511, allocations: 55.84 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.1524, allocations: 1.397 MB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.1524, allocations: 3.984 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1524, allocations: 12.09 kB / 0.684 GB, free: 12.41 MB / 494.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 6.944e-05/0.1525, allocations: 120.7 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.1525, allocations: 0 / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.293e-05/0.1525, allocations: 3.5 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1526, allocations: 0 / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.1526, allocations: 0 / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1526, allocations: 0 / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.1527, allocations: 165.5 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1527, allocations: 0 / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.1531, allocations: 51.92 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1531, allocations: 0 / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1531, allocations: 0 / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.1542, allocations: 1.409 MB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1542, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1543, allocations: 73.16 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1544, allocations: 85.23 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1544, allocations: 7.922 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.1544, allocations: 0 / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1545, allocations: 4 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1545, allocations: 0 / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.367e-05/0.1545, allocations: 75.28 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.1545, allocations: 0 / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.1547, allocations: 11.94 kB / 0.686 GB, free: 10.19 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.0004121/0.1551, allocations: 0.6085 MB / 0.6866 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.1556, allocations: 63.91 kB / 0.6866 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1556, allocations: 0 / 0.6866 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.1559, allocations: 43.89 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.156, allocations: 0.75 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.1565, allocations: 132.3 kB / 0.6868 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1568, allocations: 0.669 MB / 0.6874 GB, free: 8.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1568, allocations: 7.984 kB / 0.6875 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1568, allocations: 7.438 kB / 0.6875 GB, free: 8.562 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1568, allocations: 0 / 0.6875 GB, free: 8.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1729, allocations: 1.266 MB / 0.6887 GB, free: 7.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.24, allocations: 13.56 kB / 0.6887 GB, free: 7.449 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)