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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 103.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 277.4 kB / 303 MB, free: 3.555 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 180.9 MB / 0.5261 GB, free: 2.777 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004175/0.004175, allocations: 99.84 kB / 0.7248 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5239, allocations: 94.15 MB / 0.8167 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002586/0.5265, allocations: 1.66 MB / 0.8183 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.5283, allocations: 1.492 MB / 0.8198 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.5283, allocations: 1.125 kB / 0.8198 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.5287, allocations: 50.44 kB / 0.8199 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.5289, allocations: 59.14 kB / 0.8199 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.5292, allocations: 106.7 kB / 0.82 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.5294, allocations: 168.3 kB / 0.8202 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.5295, allocations: 7.031 kB / 0.8202 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.5295, allocations: 64.41 kB / 0.8202 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.5297, allocations: 67.56 kB / 0.8203 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.5297, allocations: 14.97 kB / 0.8203 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.5298, allocations: 64.81 kB / 0.8204 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.5299, allocations: 50.12 kB / 0.8204 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.53, allocations: 60.34 kB / 0.8205 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.5302, allocations: 190.5 kB / 0.8207 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5302, allocations: 0 / 0.8207 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5302, allocations: 0 / 0.8207 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5302, allocations: 0 / 0.8207 GB, free: 4.559 MB / 0.5762 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.0004951/0.5307, allocations: 474.1 kB / 0.8211 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5308, allocations: 10.03 kB / 0.8211 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.5308, allocations: 40.97 kB / 0.8212 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.5308, allocations: 23.59 kB / 0.8212 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.5312, allocations: 267.9 kB / 0.8214 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5312, allocations: 3.156 kB / 0.8214 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.5312, allocations: 10.92 kB / 0.8215 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.5314, allocations: 118.2 kB / 0.8216 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5314, allocations: 0 / 0.8216 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5314, allocations: 4.906 kB / 0.8216 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5314, allocations: 1.375 kB / 0.8216 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.5317, allocations: 143.4 kB / 0.8217 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.5319, allocations: 223.8 kB / 0.8219 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.5322, allocations: 169.9 kB / 0.8221 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.5323, allocations: 46.98 kB / 0.8221 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.5323, allocations: 10.89 kB / 0.8221 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.5325, allocations: 111.4 kB / 0.8223 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.5325, allocations: 0 / 0.8223 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0004559/0.533, allocations: 226 kB / 0.8225 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.533, allocations: 77.81 kB / 0.8225 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.5332, allocations: 206.5 kB / 0.8227 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.5332, allocations: 28.83 kB / 0.8228 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.5332, allocations: 120.1 kB / 0.8229 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.5333, allocations: 44.53 kB / 0.8229 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.5333, allocations: 30.33 kB / 0.823 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.5334, allocations: 329.5 kB / 0.8233 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.5335, allocations: 51.62 kB / 0.8233 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.5336, allocations: 80.83 kB / 0.8234 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.5337, allocations: 134.4 kB / 0.8235 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5337, allocations: 3.938 kB / 0.8235 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002749/0.534, allocations: 194 kB / 0.8237 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.534, allocations: 8.453 kB / 0.8237 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.534, allocations: 0 / 0.8237 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5341, allocations: 4.703 kB / 0.8237 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.5342, allocations: 28.73 kB / 0.8237 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5342, allocations: 2.141 kB / 0.8238 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.5342, allocations: 7.125 kB / 0.8238 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.5342, allocations: 7.938 kB / 0.8238 GB, free: 2.234 MB / 0.5762 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 8.41e-05/0.5343, allocations: 145.9 kB / 0.8239 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.5343, allocations: 18.23 kB / 0.8239 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.5344, allocations: 26.45 kB / 0.8239 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5344, allocations: 2.469 kB / 0.8239 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5344, allocations: 0 / 0.8239 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5344, allocations: 1.172 kB / 0.824 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5346, allocations: 239.1 kB / 0.8242 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5346, allocations: 6.656 kB / 0.8242 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.5346, allocations: 18.48 kB / 0.8242 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5346, allocations: 0 / 0.8242 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5346, allocations: 8.266 kB / 0.8242 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5346, allocations: 0 / 0.8242 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5347, allocations: 0.6562 kB / 0.8242 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5349, allocations: 213.7 kB / 0.8244 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.535, allocations: 90.84 kB / 0.8245 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.535, allocations: 11.91 kB / 0.8245 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.5351, allocations: 3.5 kB / 0.8245 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.5351, allocations: 13.42 kB / 0.8245 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.5351, allocations: 4.141 kB / 0.8245 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001121/0.5352, allocations: 152.8 kB / 0.8247 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5352, allocations: 3.938 kB / 0.8247 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000272/0.5355, allocations: 40.36 kB / 0.8247 GB, free: 1.508 MB / 0.5762 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.001946/0.5374, allocations: 1.095 MB / 0.8258 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5377, allocations: 122 kB / 0.8259 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5377, allocations: 0 / 0.8259 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.5378, allocations: 51.42 kB / 0.826 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5381, allocations: 44.2 kB / 0.826 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.5402, allocations: 1.95 MB / 0.8279 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5405, allocations: 0.7242 MB / 0.8286 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.5407, allocations: 47.36 kB / 0.8287 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5408, allocations: 58.72 kB / 0.8287 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.5408, allocations: 0 / 0.8287 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.57, allocations: 4.754 MB / 0.8334 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.848, allocations: 7.75 kB / 0.8334 GB, free: 13.6 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.786671482026577] Failed to read output from testmodel.py, exit status != 0: 8.977187379263341 8.996431363 8.46246705 Calling exit ...