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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8198/0.8198, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008961, allocations: 92.03 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 285.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.154e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4603, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6135, allocations: 111.7 MB / 0.8664 GB, free: 220 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.6138, allocations: 95.81 kB / 0.8665 GB, free: 128 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.6271, allocations: 5.24 MB / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6271, allocations: 0 / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6271, allocations: 0 / 0.8716 GB, free: 10.88 MB / 0.5417 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.0004953/0.6276, allocations: 430.1 kB / 0.8721 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6277, allocations: 8.031 kB / 0.8721 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.6277, allocations: 19.75 kB / 0.8721 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.6281, allocations: 262.6 kB / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.6281, allocations: 0 / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.6282, allocations: 7.984 kB / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002862/0.6285, allocations: 183.8 kB / 0.8725 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6286, allocations: 119.3 kB / 0.8726 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6287, allocations: 4 kB / 0.8726 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.6287, allocations: 4 kB / 0.8726 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6287, allocations: 0 / 0.8726 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.629, allocations: 226 kB / 0.8729 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.6294, allocations: 198.5 kB / 0.873 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.6295, allocations: 56.84 kB / 0.8731 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.6295, allocations: 4.328 kB / 0.8731 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6297, allocations: 119.3 kB / 0.8732 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6297, allocations: 3.938 kB / 0.8732 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0003558/0.63, allocations: 193.4 kB / 0.8734 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.6301, allocations: 77.11 kB / 0.8735 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.6303, allocations: 213.9 kB / 0.8737 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.6304, allocations: 33.69 kB / 0.8737 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.6304, allocations: 104.1 kB / 0.8738 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.6305, allocations: 51.44 kB / 0.8739 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.6305, allocations: 0 / 0.8739 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6306, allocations: 330.8 kB / 0.8742 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.6307, allocations: 51.92 kB / 0.8742 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.6308, allocations: 78.55 kB / 0.8743 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.6309, allocations: 57.47 kB / 0.8744 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6309, allocations: 0 / 0.8744 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002743/0.6312, allocations: 213.4 kB / 0.8746 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6312, allocations: 5.406 kB / 0.8746 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6312, allocations: 4 kB / 0.8746 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6313, allocations: 0 / 0.8746 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6314, allocations: 27.92 kB / 0.8746 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6314, allocations: 4 kB / 0.8746 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.6315, allocations: 7.906 kB / 0.8746 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.6315, allocations: 7.984 kB / 0.8746 GB, free: 7.613 MB / 0.5417 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.6316, allocations: 110 kB / 0.8747 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.6316, allocations: 19.77 kB / 0.8747 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.6321, allocations: 258.8 kB / 0.875 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6321, allocations: 7.938 kB / 0.875 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6321, allocations: 4 kB / 0.875 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6321, allocations: 7.922 kB / 0.875 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.6323, allocations: 238.2 kB / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6323, allocations: 0 / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6325, allocations: 35.98 kB / 0.8753 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6325, allocations: 0 / 0.8753 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6325, allocations: 4 kB / 0.8753 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6325, allocations: 3.953 kB / 0.8753 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6325, allocations: 0 / 0.8753 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.6328, allocations: 259.1 kB / 0.8755 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.6329, allocations: 112.8 kB / 0.8756 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.633, allocations: 7.938 kB / 0.8756 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.633, allocations: 8 kB / 0.8756 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.6331, allocations: 19.92 kB / 0.8757 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6331, allocations: 4 kB / 0.8757 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001548/0.6333, allocations: 188 kB / 0.8758 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6333, allocations: 0 / 0.8758 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002561/0.6335, allocations: 43.94 kB / 0.8759 GB, free: 6.23 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009529/0.6345, allocations: 399.9 kB / 0.8763 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.6348, allocations: 147.8 kB / 0.8764 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6348, allocations: 4.062 kB / 0.8764 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6349, allocations: 87.84 kB / 0.8765 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.6352, allocations: 27.08 kB / 0.8765 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.6357, allocations: 250.3 kB / 0.8768 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.6361, allocations: 0.7288 MB / 0.8775 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.6363, allocations: 58.67 kB / 0.8775 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.6364, allocations: 35.36 kB / 0.8776 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6364, allocations: 0 / 0.8776 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of Templates: time 0.006772/0.6431, allocations: 2.825 MB / 0.8803 GB, free: 1.773 MB / 0.5417 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)