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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001582/0.001582, allocations: 187 kB / 17.34 MB, free: 5.742 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 285.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9636/0.9636, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001959, allocations: 91.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4819, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002883/0.4848, allocations: 1.632 MB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.4869, allocations: 1.496 MB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.487, allocations: 4 kB / 0.7701 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.4874, allocations: 47.77 kB / 0.7702 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.4876, allocations: 63.67 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.4879, allocations: 95.69 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4881, allocations: 171.6 kB / 0.7705 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.4882, allocations: 8.172 kB / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4883, allocations: 63.77 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.4885, allocations: 67.8 kB / 0.7706 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.4885, allocations: 12 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.4886, allocations: 63.98 kB / 0.7707 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.4887, allocations: 39.89 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.4888, allocations: 71.47 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.4891, allocations: 195.1 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4891, allocations: 0 / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4891, allocations: 0 / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4891, allocations: 0 / 0.771 GB, free: 15.89 MB / 0.545 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.000605/0.4897, allocations: 465.2 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4898, allocations: 12.03 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.4899, allocations: 20.73 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.4902, allocations: 272.7 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4903, allocations: 4.375 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4903, allocations: 8.125 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.4905, allocations: 115.3 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4905, allocations: 0 / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4906, allocations: 4 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4906, allocations: 8 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4908, allocations: 139.9 kB / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.4911, allocations: 225.5 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4914, allocations: 174.6 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4916, allocations: 56.78 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.4916, allocations: 7.984 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.4918, allocations: 115.3 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.4918, allocations: 0 / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004938/0.4923, allocations: 223.1 kB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.4924, allocations: 81.11 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.4926, allocations: 202.6 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4927, allocations: 29.7 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4927, allocations: 116.1 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.4928, allocations: 51.34 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.4929, allocations: 33.7 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.493, allocations: 322.8 kB / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4931, allocations: 51.97 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4932, allocations: 74.48 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.4934, allocations: 133.7 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4934, allocations: 4 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003138/0.4938, allocations: 191.1 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4938, allocations: 8 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4938, allocations: 0 / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4938, allocations: 3.938 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4939, allocations: 27.98 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.494, allocations: 4 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.494, allocations: 32 / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.494, allocations: 12 kB / 0.774 GB, free: 12.51 MB / 0.545 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.0001185/0.4942, allocations: 152 kB / 0.7742 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4942, allocations: 15.81 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.4943, allocations: 21.53 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4943, allocations: 4 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4943, allocations: 3.984 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4943, allocations: 0 / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4945, allocations: 241.3 kB / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4945, allocations: 0 / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.4946, allocations: 20 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4946, allocations: 3.984 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4946, allocations: 8 kB / 0.7745 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4946, allocations: 0 / 0.7745 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4946, allocations: 0 / 0.7745 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.495, allocations: 216.8 kB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.495, allocations: 88.92 kB / 0.7748 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4951, allocations: 4 kB / 0.7748 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.4951, allocations: 8 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4952, allocations: 11.98 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4952, allocations: 11.98 kB / 0.7748 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001297/0.4953, allocations: 148.2 kB / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4953, allocations: 0 / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002554/0.4956, allocations: 39.98 kB / 0.775 GB, free: 11.43 MB / 0.545 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.001078/0.4967, allocations: 451.7 kB / 0.7754 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.497, allocations: 127.8 kB / 0.7755 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.497, allocations: 0 / 0.7755 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4971, allocations: 71.89 kB / 0.7756 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4974, allocations: 39.78 kB / 0.7756 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.498, allocations: 320.8 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4982, allocations: 0.7202 MB / 0.7767 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.4983, allocations: 27.42 kB / 0.7767 GB, free: 9.812 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4983, allocations: 0 / 0.7767 GB, free: 9.812 MB / 0.545 GB Notification: Performance of Templates: time 0.004653/0.503, allocations: 2.832 MB / 0.7794 GB, free: 7.023 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)