Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.0008035/0.0008034, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.0008268/0.0008271, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.002/1.002, allocations: 143.4 MB / 434.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001633/0.1703, allocations: 1.311 MB / 0.5988 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000609/0.1709, allocations: 313.7 kB / 0.5991 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1709, allocations: 0 / 0.5991 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.171, allocations: 7.922 kB / 0.5991 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.1711, allocations: 15.86 kB / 0.5991 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1713, allocations: 67.86 kB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1715, allocations: 95.64 kB / 0.5993 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1716, allocations: 27.97 kB / 0.5993 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.1717, allocations: 27.92 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.1718, allocations: 39.78 kB / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1718, allocations: 0 / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1719, allocations: 39.95 kB / 0.5994 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1719, allocations: 4 kB / 0.5994 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.1719, allocations: 45.62 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.172, allocations: 72.08 kB / 0.5996 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1721, allocations: 4 kB / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1721, allocations: 0 / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1721, allocations: 0 / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005058/0.1726, allocations: 391.1 kB / 0.5999 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1726, allocations: 8.031 kB / 0.5999 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.1727, allocations: 38.56 kB / 0.6 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1739, allocations: 187.5 kB / 0.6002 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1741, allocations: 178.9 kB / 0.6003 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1741, allocations: 7.938 kB / 0.6003 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1741, allocations: 8 kB / 0.6003 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.1747, allocations: 181.5 kB / 0.6005 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1747, allocations: 4 kB / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1748, allocations: 0 / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1748, allocations: 0 / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.1756, allocations: 219.6 kB / 0.6007 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1767, allocations: 484.4 kB / 0.6012 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.1777, allocations: 214.4 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.178, allocations: 76.78 kB / 0.6015 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1781, allocations: 0 / 0.6015 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1781, allocations: 34.56 kB / 0.6015 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1781, allocations: 0 / 0.6015 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001045/0.1792, allocations: 257.3 kB / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1792, allocations: 59.36 kB / 0.6018 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.1795, allocations: 186.2 kB / 0.602 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1795, allocations: 29.64 kB / 0.602 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1796, allocations: 107.9 kB / 0.6021 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1796, allocations: 7.906 kB / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1796, allocations: 0 / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1797, allocations: 322.8 kB / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.1801, allocations: 95.91 kB / 0.6025 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1805, allocations: 110.5 kB / 0.6026 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.1809, allocations: 91.92 kB / 0.6027 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.181, allocations: 0 / 0.6027 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008612/0.1818, allocations: 237.4 kB / 0.6029 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.1819, allocations: 110.7 kB / 0.603 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1819, allocations: 0 / 0.603 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1819, allocations: 7.953 kB / 0.603 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1822, allocations: 56 kB / 0.6031 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1822, allocations: 0 / 0.6031 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.1826, allocations: 55.8 kB / 0.6032 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1826, allocations: 7.984 kB / 0.6032 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1826, allocations: 6.031 kB / 0.6032 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003375/0.183, allocations: 99.92 kB / 0.6033 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.183, allocations: 3.984 kB / 0.6033 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.183, allocations: 4 kB / 0.6033 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1831, allocations: 28.09 kB / 0.6033 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.1831, allocations: 0 / 0.6033 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1833, allocations: 31.83 kB / 0.6033 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1833, allocations: 0 / 0.6033 GB, free: 1.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1835, allocations: 204.5 kB / 0.6035 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.1835, allocations: 7.906 kB / 0.6035 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1836, allocations: 12.25 kB / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1836, allocations: 4 kB / 0.6035 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1836, allocations: 0 / 0.6035 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1836, allocations: 0 / 0.6035 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1838, allocations: 213.5 kB / 0.6037 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1838, allocations: 0 / 0.6037 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.184, allocations: 39.95 kB / 0.6038 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.184, allocations: 4 kB / 0.6038 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1841, allocations: 3.984 kB / 0.6038 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1841, allocations: 0 / 0.6038 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1841, allocations: 0 / 0.6038 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.1848, allocations: 287.2 kB / 0.6041 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.1849, allocations: 96.98 kB / 0.6042 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1849, allocations: 0 / 0.6042 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.1852, allocations: 35.97 kB / 0.6042 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.1852, allocations: 3.938 kB / 0.6042 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1852, allocations: 7.984 kB / 0.6042 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001705/0.1854, allocations: 143.2 kB / 0.6043 GB, free: 388 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1854, allocations: 0 / 0.6043 GB, free: 388 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003467/0.1858, allocations: 39.91 kB / 0.6044 GB, free: 348 kB / 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3487/0.5345, allocations: 0.8079 MB / 0.6052 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.5355, allocations: 242.7 kB / 0.6054 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5356, allocations: 0 / 0.6054 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.5359, allocations: 72 kB / 0.6055 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.5362, allocations: 6.125 kB / 0.6055 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.5385, allocations: 0.9329 MB / 0.6064 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.5387, allocations: 0.6939 MB / 0.6071 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.5388, allocations: 22.31 kB / 0.6071 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.5389, allocations: 37.2 kB / 0.6071 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.373e-06/0.539, allocations: 2.969 kB / 0.6071 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.5516, allocations: 2.645 MB / 0.6097 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.5518, allocations: 217.8 kB / 0.6099 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.265, allocations: 3 kB / 0.6099 GB, free: 38.86 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) Environment - environmentSimulation: