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.001771/0.001771, allocations: 109.2 kB / 16.41 MB, free: 5.973 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.001995/0.001995, allocations: 190.8 kB / 17.34 MB, free: 5.582 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 296.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 107.8 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4173, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002913/0.4202, allocations: 1.632 MB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.4225, allocations: 1.489 MB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.4225, allocations: 0 / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.4229, allocations: 51.77 kB / 0.7702 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.4231, allocations: 63.62 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.4234, allocations: 99.19 kB / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.4236, allocations: 179.5 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.4237, allocations: 8.234 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4238, allocations: 59.78 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.4239, allocations: 67.78 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.424, allocations: 8 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.4241, allocations: 63.98 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.4242, allocations: 43.89 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.761e-05/0.4243, allocations: 63.55 kB / 0.7708 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.4246, allocations: 200.9 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4246, allocations: 0 / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4246, allocations: 0 / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4246, allocations: 4 kB / 0.771 GB, free: 15.87 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.0006972/0.4253, allocations: 470.4 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4253, allocations: 8.031 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.4254, allocations: 24.73 kB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.4258, allocations: 269 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4258, allocations: 4.375 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.4259, allocations: 4.125 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4261, allocations: 119.3 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4261, allocations: 0 / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4261, allocations: 4 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4261, allocations: 0 / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.4264, allocations: 143.8 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.4267, allocations: 237.5 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.4271, allocations: 158.6 kB / 0.7724 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.4272, allocations: 56.77 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.4272, allocations: 4 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.4275, allocations: 107.3 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4275, allocations: 0 / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005228/0.428, allocations: 229.5 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.4281, allocations: 81.11 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4283, allocations: 206.6 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4283, allocations: 25.7 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.4284, allocations: 112.1 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.4285, allocations: 47.67 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.4285, allocations: 33.66 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4287, allocations: 330.8 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4288, allocations: 43.98 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.4289, allocations: 81.58 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.4291, allocations: 126.9 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4291, allocations: 0 / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003405/0.4295, allocations: 201.4 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4295, allocations: 8 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4295, allocations: 112 / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4295, allocations: 8 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4296, allocations: 23.98 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4296, allocations: 4 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.4297, allocations: 8 kB / 0.774 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4297, allocations: 4 kB / 0.774 GB, free: 12.5 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.0001348/0.4298, allocations: 145.7 kB / 0.7742 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.4299, allocations: 19.86 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.43, allocations: 29.5 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.43, allocations: 4 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.43, allocations: 4 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.43, allocations: 0 / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4302, allocations: 241.4 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4302, allocations: 0 / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.4303, allocations: 19.98 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4303, allocations: 0 / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4303, allocations: 4 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4303, allocations: 0 / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4303, allocations: 0 / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.4306, allocations: 223.1 kB / 0.7747 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.4307, allocations: 92.97 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4307, allocations: 4 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.4308, allocations: 7.984 kB / 0.7748 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.4308, allocations: 12 kB / 0.7748 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.4309, allocations: 11.98 kB / 0.7748 GB, free: 11.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001435/0.431, allocations: 148.2 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.431, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002617/0.4313, allocations: 43.92 kB / 0.775 GB, free: 11.41 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.001624/0.4329, allocations: 466.7 kB / 0.7754 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4332, allocations: 115.9 kB / 0.7756 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4332, allocations: 4.062 kB / 0.7756 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4333, allocations: 51.92 kB / 0.7756 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4336, allocations: 32.47 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.0005898/0.4342, allocations: 298.8 kB / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4345, allocations: 0.7163 MB / 0.7766 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.4346, allocations: 49.5 kB / 0.7767 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.4347, allocations: 35.42 kB / 0.7767 GB, free: 9.777 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4347, allocations: 0 / 0.7767 GB, free: 9.777 MB / 0.545 GB Notification: Performance of Templates: time 0.006218/0.4409, allocations: 2.525 MB / 0.7792 GB, free: 7.32 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)