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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 132 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.001293/0.001293, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 290.6 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 100.3 kB / 0.6066 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1526, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001729/0.1543, allocations: 0.5846 MB / 0.6942 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.1546, allocations: 107.6 kB / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.1547, allocations: 4 kB / 0.6943 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1547, allocations: 0 / 0.6943 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.1547, allocations: 0 / 0.6943 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1549, allocations: 22.02 kB / 0.6943 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.1549, allocations: 4 kB / 0.6943 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.155, allocations: 8 kB / 0.6943 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.155, allocations: 0 / 0.6943 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.1551, allocations: 7.984 kB / 0.6943 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1551, allocations: 2.062 kB / 0.6943 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.1552, allocations: 12 kB / 0.6943 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.1552, allocations: 7.969 kB / 0.6943 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.1552, allocations: 3.938 kB / 0.6944 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.325e-05/0.1553, allocations: 11.98 kB / 0.6944 GB, free: 3.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1553, allocations: 0.5938 kB / 0.6944 GB, free: 3.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1553, allocations: 4 kB / 0.6944 GB, free: 3.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1553, allocations: 1.719 kB / 0.6944 GB, free: 3.441 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.0003865/0.1557, allocations: 317.3 kB / 0.6947 GB, free: 3.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1557, allocations: 12.03 kB / 0.6947 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.1558, allocations: 31.41 kB / 0.6947 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1559, allocations: 16.92 kB / 0.6947 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1561, allocations: 160.7 kB / 0.6949 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1561, allocations: 384 / 0.6949 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1561, allocations: 8.312 kB / 0.6949 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1562, allocations: 38.23 kB / 0.6949 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1562, allocations: 3.938 kB / 0.6949 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1562, allocations: 4 kB / 0.6949 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1563, allocations: 0 / 0.6949 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.1563, allocations: 15.92 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1565, allocations: 161.6 kB / 0.6951 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1567, allocations: 42.53 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.1567, allocations: 12.92 kB / 0.6952 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1568, allocations: 4 kB / 0.6952 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1568, allocations: 34.56 kB / 0.6952 GB, free: 2.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1568, allocations: 0 / 0.6952 GB, free: 2.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002131/0.157, allocations: 57.61 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1571, allocations: 51.41 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.1571, allocations: 89.86 kB / 0.6954 GB, free: 2.203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1571, allocations: 25.7 kB / 0.6954 GB, free: 2.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.1572, allocations: 80.14 kB / 0.6955 GB, free: 2.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1572, allocations: 19.8 kB / 0.6955 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.1573, allocations: 13.72 kB / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1574, allocations: 318.8 kB / 0.6958 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.1574, allocations: 7.922 kB / 0.6958 GB, free: 1.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.1575, allocations: 4 kB / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.1576, allocations: 24.84 kB / 0.6959 GB, free: 1.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1576, allocations: 3.938 kB / 0.6959 GB, free: 1.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.1577, allocations: 45.69 kB / 0.6959 GB, free: 1.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1577, allocations: 8 kB / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1577, allocations: 3.938 kB / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1577, allocations: 0 / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.1581, allocations: 43.92 kB / 0.696 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.1595, allocations: 1.416 MB / 0.6973 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.1595, allocations: 0 / 0.6973 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1596, allocations: 4.031 kB / 0.6973 GB, free: 28 kB / 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 9.737e-05/0.1597, allocations: 116.6 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.1597, allocations: 4.094 kB / 0.6975 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.1597, allocations: 3.5 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1597, allocations: 7.938 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1597, allocations: 0 / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1597, allocations: 0 / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1599, allocations: 157.6 kB / 0.6976 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1599, allocations: 0 / 0.6976 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.1603, allocations: 51.92 kB / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1603, allocations: 3.938 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1603, allocations: 0 / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.1616, allocations: 1.41 MB / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1616, allocations: 0 / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1617, allocations: 69.16 kB / 0.6991 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.1618, allocations: 77.11 kB / 0.6992 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1618, allocations: 11.92 kB / 0.6992 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.1618, allocations: 4 kB / 0.6992 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1618, allocations: 4.062 kB / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1618, allocations: 0 / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.1619, allocations: 75.28 kB / 0.6993 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 4 kB / 0.6993 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001837/0.1621, allocations: 0 / 0.6993 GB, free: 13.8 MB / 0.4981 GB 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.0004513/0.1625, allocations: 0.6203 MB / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.163, allocations: 63.89 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.163, allocations: 0 / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.1633, allocations: 47.89 kB / 0.7 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1634, allocations: 1.844 kB / 0.7 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1638, allocations: 122.6 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1641, allocations: 0.6767 MB / 0.7008 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.1641, allocations: 7.984 kB / 0.7008 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1642, allocations: 11.44 kB / 0.7008 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1642, allocations: 0 / 0.7008 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1875, allocations: 1.246 MB / 0.702 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.98, allocations: 17.28 kB / 0.702 GB, free: 11.06 MB / 0.4981 GB (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)