Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_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.001701/0.001701, 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.001977/0.001977, allocations: 191.6 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 282.3 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 99.38 kB / 0.6066 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.172, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003408/0.1755, allocations: 1.645 MB / 0.6952 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1776, allocations: 1.475 MB / 0.6967 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.1777, allocations: 0.6875 kB / 0.6967 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.1781, allocations: 51.75 kB / 0.6967 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1784, allocations: 59.7 kB / 0.6968 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1786, allocations: 113.2 kB / 0.6969 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1789, allocations: 167.6 kB / 0.697 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.1789, allocations: 8.234 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.179, allocations: 63.77 kB / 0.6971 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1792, allocations: 59.81 kB / 0.6972 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1793, allocations: 12 kB / 0.6972 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1794, allocations: 67.95 kB / 0.6972 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1795, allocations: 47.83 kB / 0.6973 GB, free: 480 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.1796, allocations: 63.61 kB / 0.6973 GB, free: 416 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1799, allocations: 191.7 kB / 0.6975 GB, free: 224 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1799, allocations: 0 / 0.6975 GB, free: 224 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1799, allocations: 4 kB / 0.6975 GB, free: 220 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1799, allocations: 0 / 0.6975 GB, free: 220 kB / 494.1 MB 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.0007058/0.1806, allocations: 470.6 kB / 0.698 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1807, allocations: 11.97 kB / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.1807, allocations: 42.73 kB / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.1808, allocations: 16.75 kB / 0.698 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1811, allocations: 260.2 kB / 0.6983 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1812, allocations: 8.375 kB / 0.6983 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1812, allocations: 7.938 kB / 0.6983 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1814, allocations: 111.3 kB / 0.6984 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1814, allocations: 0 / 0.6984 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1815, allocations: 4 kB / 0.6984 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1815, allocations: 3.984 kB / 0.6984 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.1817, allocations: 139.9 kB / 0.6986 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.182, allocations: 237.5 kB / 0.6988 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.1824, allocations: 178.4 kB / 0.699 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1825, allocations: 52.83 kB / 0.699 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1826, allocations: 4 kB / 0.699 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.1828, allocations: 111.4 kB / 0.6991 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1829, allocations: 0 / 0.6991 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005084/0.1834, allocations: 227.5 kB / 0.6993 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1834, allocations: 81.11 kB / 0.6994 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1837, allocations: 206.5 kB / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1837, allocations: 33.69 kB / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1838, allocations: 108.1 kB / 0.6997 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.1839, allocations: 47.44 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.1839, allocations: 37.72 kB / 0.6998 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1841, allocations: 334.8 kB / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1842, allocations: 43.98 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1843, allocations: 76.09 kB / 0.7003 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1846, allocations: 123.9 kB / 0.7004 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1846, allocations: 3.938 kB / 0.7004 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003419/0.1849, allocations: 197.5 kB / 0.7006 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1849, allocations: 11.94 kB / 0.7006 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.185, allocations: 0 / 0.7006 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.185, allocations: 0 / 0.7006 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1851, allocations: 23.98 kB / 0.7006 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1851, allocations: 8 kB / 0.7006 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1852, allocations: 11.94 kB / 0.7006 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1852, allocations: 7.984 kB / 0.7006 GB, free: 12.78 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1853, allocations: 144.3 kB / 0.7008 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1854, allocations: 15.81 kB / 0.7008 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.1854, allocations: 29.5 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1855, allocations: 4 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1855, allocations: 0 / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1855, allocations: 0 / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1857, allocations: 241.4 kB / 0.701 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1857, allocations: 0 / 0.701 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.1858, allocations: 19.98 kB / 0.7011 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1858, allocations: 0 / 0.7011 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1858, allocations: 4 kB / 0.7011 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1858, allocations: 4 kB / 0.7011 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1858, allocations: 0 / 0.7011 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1862, allocations: 220.8 kB / 0.7013 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.1863, allocations: 96.84 kB / 0.7014 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1863, allocations: 4 kB / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.1864, allocations: 4 kB / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1864, allocations: 7.984 kB / 0.7014 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1865, allocations: 16 kB / 0.7014 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001523/0.1866, allocations: 156.2 kB / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1866, allocations: 0 / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002609/0.1869, allocations: 32 kB / 0.7016 GB, free: 11.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002228/0.1891, allocations: 1.109 MB / 0.7027 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1894, allocations: 131.9 kB / 0.7028 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1895, allocations: 0 / 0.7028 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1896, allocations: 59.97 kB / 0.7028 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1899, allocations: 44.06 kB / 0.7029 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.1923, allocations: 1.92 MB / 0.7048 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1927, allocations: 0.7239 MB / 0.7055 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.1928, allocations: 49.66 kB / 0.7055 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1929, allocations: 63.41 kB / 0.7056 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1929, allocations: 0 / 0.7056 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.2226, allocations: 4.608 MB / 0.7101 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.287, allocations: 15.14 kB / 0.7101 GB, free: 3.227 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)