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.001039/0.001039, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001124/0.001124, allocations: 192 kB / 16.14 MB, free: 6.598 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 283.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 90.34 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1419, allocations: 86.99 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002556/0.1445, allocations: 1.682 MB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1463, allocations: 1.454 MB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1463, allocations: 5.062 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1467, allocations: 47.83 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1468, allocations: 52.7 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.1471, allocations: 83.84 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1472, allocations: 151.7 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1473, allocations: 16.44 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.1474, allocations: 59.77 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1475, allocations: 63.75 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1476, allocations: 8 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1477, allocations: 67.89 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1478, allocations: 39.89 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.1478, allocations: 51.61 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1481, allocations: 187.4 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1481, allocations: 0 / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1481, allocations: 0 / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1481, allocations: 4 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB 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.0005353/0.1486, allocations: 470.7 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1487, allocations: 8.031 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1487, allocations: 42.67 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1488, allocations: 16.75 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1491, allocations: 263.9 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1491, allocations: 384 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.1491, allocations: 11.94 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1493, allocations: 119.3 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1493, allocations: 3.938 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1494, allocations: 0 / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1494, allocations: 4 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1496, allocations: 139.9 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1498, allocations: 237.4 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.1502, allocations: 174.5 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.1503, allocations: 52.84 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1503, allocations: 7.984 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1505, allocations: 109.8 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.1506, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004408/0.151, allocations: 221.4 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.151, allocations: 85.11 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1512, allocations: 211 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1513, allocations: 33.64 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1513, allocations: 112.1 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1514, allocations: 43.44 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.1514, allocations: 33.66 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1515, allocations: 334.8 kB / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1517, allocations: 51.98 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1518, allocations: 72.09 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.152, allocations: 124.8 kB / 0.6863 GB, free: 9.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.152, allocations: 3.938 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002929/0.1523, allocations: 193.4 kB / 0.6865 GB, free: 9.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1523, allocations: 4 kB / 0.6865 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1523, allocations: 4.062 kB / 0.6865 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1523, allocations: 0 / 0.6865 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1524, allocations: 31.98 kB / 0.6865 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1525, allocations: 0 / 0.6865 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.1525, allocations: 15.78 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1525, allocations: 4 kB / 0.6865 GB, free: 9.703 MB / 494.1 MB 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.0001059/0.1526, allocations: 143.1 kB / 0.6867 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1527, allocations: 15.81 kB / 0.6867 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1527, allocations: 29.52 kB / 0.6867 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1528, allocations: 4 kB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1528, allocations: 0 / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1528, allocations: 0 / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.153, allocations: 241.4 kB / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.153, allocations: 0 / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.153, allocations: 19.98 kB / 0.687 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.153, allocations: 0 / 0.687 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.1531, allocations: 4 kB / 0.687 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1531, allocations: 11.94 kB / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1531, allocations: 0 / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.1534, allocations: 208.8 kB / 0.6872 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1535, allocations: 88.95 kB / 0.6873 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.1535, allocations: 19.91 kB / 0.6873 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.1536, allocations: 4 kB / 0.6873 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1536, allocations: 11.98 kB / 0.6873 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1537, allocations: 4 kB / 0.6873 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1538, allocations: 156.2 kB / 0.6874 GB, free: 8.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 0.6874 GB, free: 8.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1541, allocations: 47.91 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB 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.00145/0.1555, allocations: 1.098 MB / 0.6886 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1558, allocations: 119.9 kB / 0.6887 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1558, allocations: 0 / 0.6887 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1559, allocations: 63.92 kB / 0.6887 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1562, allocations: 38.36 kB / 0.6888 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1582, allocations: 1.955 MB / 0.6907 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1584, allocations: 0.7244 MB / 0.6914 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1585, allocations: 45.66 kB / 0.6914 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.1587, allocations: 63.41 kB / 0.6915 GB, free: 4.566 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1587, allocations: 0 / 0.6915 GB, free: 4.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.1732, allocations: 4.401 MB / 0.6958 GB, free: 384 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.1734, allocations: 283.4 kB / 0.6961 GB, free: 0 / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.837, allocations: 0 / 0.6961 GB, free: 0 / 494.1 MB (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 --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)