Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001093/0.001093, allocations: 98.3 kB / 15.05 MB, free: 1.105 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.001063/0.001063, allocations: 177.3 kB / 15.94 MB, free: 220 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.029/1.029, allocations: 143.3 MB / 434.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 0.5159 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1705, allocations: 83.41 MB / 0.5974 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001811/0.1724, allocations: 1.331 MB / 0.5987 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1743, allocations: 1.367 MB / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.1744, allocations: 0 / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1748, allocations: 43.77 kB / 0.6 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1749, allocations: 47.81 kB / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1752, allocations: 91.75 kB / 0.6002 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1754, allocations: 99.81 kB / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.1754, allocations: 8.234 kB / 0.6003 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.1755, allocations: 55.83 kB / 0.6003 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1757, allocations: 47.83 kB / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1757, allocations: 4 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1758, allocations: 47.91 kB / 0.6004 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1759, allocations: 35.91 kB / 0.6005 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.176, allocations: 49.58 kB / 0.6005 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1762, allocations: 144 kB / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1762, allocations: 0 / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1762, allocations: 0 / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1762, allocations: 4 kB / 0.6006 GB, free: 4.285 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005689/0.1768, allocations: 438.6 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1768, allocations: 8.031 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.1769, allocations: 42.55 kB / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1769, allocations: 19.77 kB / 0.6011 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1773, allocations: 254.6 kB / 0.6014 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1773, allocations: 4 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1773, allocations: 8 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1776, allocations: 119.3 kB / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1776, allocations: 0 / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1776, allocations: 0 / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1776, allocations: 3.938 kB / 0.6015 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1778, allocations: 139.9 kB / 0.6016 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.1781, allocations: 229.5 kB / 0.6019 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1785, allocations: 182.4 kB / 0.602 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.1785, allocations: 7.984 kB / 0.602 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1788, allocations: 114.8 kB / 0.6022 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1788, allocations: 0 / 0.6022 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.000458/0.1792, allocations: 225.4 kB / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1793, allocations: 81.11 kB / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1795, allocations: 205.4 kB / 0.6026 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1795, allocations: 33.7 kB / 0.6027 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.1796, allocations: 112.1 kB / 0.6028 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.1797, allocations: 51.3 kB / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1797, allocations: 4 kB / 0.6028 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1798, allocations: 330.8 kB / 0.6031 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.1799, allocations: 47.97 kB / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1801, allocations: 73.78 kB / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1802, allocations: 60.02 kB / 0.6033 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1802, allocations: 3.938 kB / 0.6033 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003099/0.1805, allocations: 189.5 kB / 0.6035 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1805, allocations: 8 kB / 0.6035 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1805, allocations: 336 / 0.6035 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1805, allocations: 0 / 0.6035 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1807, allocations: 27.92 kB / 0.6035 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1807, allocations: 7.938 kB / 0.6035 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1807, allocations: 8.031 kB / 0.6036 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1808, allocations: 8 kB / 0.6036 GB, free: 1.055 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001262/0.1809, allocations: 139.8 kB / 0.6037 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1809, allocations: 15.81 kB / 0.6037 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.181, allocations: 21.53 kB / 0.6037 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.181, allocations: 7.984 kB / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.181, allocations: 0 / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.181, allocations: 0 / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.1813, allocations: 245.4 kB / 0.604 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1813, allocations: 4 kB / 0.604 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1813, allocations: 23.92 kB / 0.604 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1813, allocations: 4 kB / 0.604 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1814, allocations: 0 / 0.604 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1814, allocations: 0 / 0.604 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1814, allocations: 4 kB / 0.604 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1817, allocations: 216.2 kB / 0.6042 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1818, allocations: 92.91 kB / 0.6043 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.1818, allocations: 15.94 kB / 0.6043 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.1819, allocations: 0 / 0.6043 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1819, allocations: 11.98 kB / 0.6043 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.1819, allocations: 12 kB / 0.6043 GB, free: 168 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001406/0.1821, allocations: 160.2 kB / 0.6045 GB, free: 8 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1821, allocations: 0 / 0.6045 GB, free: 8 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.2946/0.4767, allocations: 29.28 kB / 0.6045 GB, free: 41.24 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001633/0.4783, allocations: 1.089 MB / 0.6056 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.4786, allocations: 121.8 kB / 0.6057 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4786, allocations: 0.75 kB / 0.6057 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.4787, allocations: 65.38 kB / 0.6058 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.479, allocations: 36 kB / 0.6058 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4803, allocations: 1.108 MB / 0.6069 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4804, allocations: 0.7312 MB / 0.6076 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.4806, allocations: 50.77 kB / 0.6076 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.4807, allocations: 62.22 kB / 0.6077 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.4807, allocations: 0 / 0.6077 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.4958, allocations: 4.158 MB / 0.6118 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.496, allocations: 267.3 kB / 0.612 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.297, allocations: 0 / 0.612 GB, free: 38.72 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: