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.005153/0.005153, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001363/0.001363, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002722/0.002722, allocations: 282.7 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 101 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1883, allocations: 86.96 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002877/0.1913, allocations: 1.634 MB / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1934, allocations: 1.484 MB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1934, allocations: 0 / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1938, allocations: 51.7 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.194, allocations: 55.77 kB / 0.7691 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1943, allocations: 110.7 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1945, allocations: 167.6 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1945, allocations: 12.2 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.1946, allocations: 67.77 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1948, allocations: 63.81 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1948, allocations: 11.94 kB / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.195, allocations: 71.95 kB / 0.7695 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.195, allocations: 43.83 kB / 0.7696 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.1951, allocations: 55.67 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1954, allocations: 195.5 kB / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1954, allocations: 0 / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1954, allocations: 0 / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1954, allocations: 0 / 0.7698 GB, free: 4.902 MB / 0.5606 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.0006191/0.1961, allocations: 494.1 kB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1961, allocations: 8.031 kB / 0.7703 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.1961, allocations: 38.73 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1962, allocations: 20.8 kB / 0.7704 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.1966, allocations: 256.5 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1966, allocations: 8.375 kB / 0.7706 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1967, allocations: 7.938 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1969, allocations: 119.3 kB / 0.7707 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1969, allocations: 0 / 0.7707 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1969, allocations: 7.938 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1969, allocations: 0 / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.1972, allocations: 135.9 kB / 0.7709 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.1974, allocations: 233.6 kB / 0.7711 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.1978, allocations: 178.4 kB / 0.7713 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1979, allocations: 56.83 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.198, allocations: 4 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1982, allocations: 111.4 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1982, allocations: 0 / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.000491/0.1987, allocations: 221.5 kB / 0.7716 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1988, allocations: 81.05 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.199, allocations: 210.5 kB / 0.7719 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.199, allocations: 33.7 kB / 0.772 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1991, allocations: 112.1 kB / 0.7721 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.1992, allocations: 47.67 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.1992, allocations: 29.72 kB / 0.7721 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1994, allocations: 330.8 kB / 0.7725 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1995, allocations: 43.98 kB / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1996, allocations: 76.8 kB / 0.7726 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1999, allocations: 132.6 kB / 0.7727 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1999, allocations: 3.938 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003401/0.2002, allocations: 193.5 kB / 0.7729 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2002, allocations: 4 kB / 0.7729 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2003, allocations: 8 kB / 0.7729 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2003, allocations: 4.062 kB / 0.7729 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2004, allocations: 27.92 kB / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2004, allocations: 4 kB / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.2005, allocations: 7.938 kB / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2005, allocations: 8 kB / 0.7729 GB, free: 1.453 MB / 0.5606 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.0001277/0.2006, allocations: 142.3 kB / 0.7731 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.2007, allocations: 19.86 kB / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.2008, allocations: 25.52 kB / 0.7731 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2008, allocations: 7.984 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2008, allocations: 4 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2008, allocations: 0 / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.201, allocations: 237.5 kB / 0.7734 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.201, allocations: 0 / 0.7734 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.2011, allocations: 23.92 kB / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2011, allocations: 0 / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2011, allocations: 4 kB / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2011, allocations: 0 / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2011, allocations: 0 / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.2015, allocations: 220.9 kB / 0.7736 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.2016, allocations: 92.95 kB / 0.7737 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.2016, allocations: 3.984 kB / 0.7737 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.2017, allocations: 8 kB / 0.7737 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2017, allocations: 7.984 kB / 0.7737 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2017, allocations: 8 kB / 0.7737 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001524/0.2019, allocations: 160.2 kB / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of sort global known variables: time 3.286e-06/0.2019, allocations: 0 / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002455/0.2022, allocations: 31.94 kB / 0.7739 GB, free: 388 kB / 0.5606 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.3076/0.5098, allocations: 1.094 MB / 0.775 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.5102, allocations: 128.9 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5102, allocations: 0 / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5103, allocations: 61.88 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.5107, allocations: 43.27 kB / 0.7752 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.5127, allocations: 1.936 MB / 0.7771 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.5129, allocations: 0.7277 MB / 0.7778 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.513, allocations: 49.53 kB / 0.7778 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5131, allocations: 57.41 kB / 0.7779 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5131, allocations: 0.7812 kB / 0.7779 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.5411, allocations: 4.713 MB / 0.7825 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.428, allocations: 9.406 kB / 0.7825 GB, free: 11.92 MB / 0.5606 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)