Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 195.6 kB / 16.14 MB, free: 6.695 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.836/0.836, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 64.59 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 80.94 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002673/0.1355, allocations: 1.685 MB / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1372, allocations: 1.456 MB / 0.5869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.1373, allocations: 0 / 0.5869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1376, allocations: 51.83 kB / 0.587 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1377, allocations: 47.83 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.138, allocations: 86.97 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1381, allocations: 155.6 kB / 0.5872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1382, allocations: 8.234 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.1383, allocations: 59.77 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1384, allocations: 67.75 kB / 0.5874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1385, allocations: 4 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1386, allocations: 63.95 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1386, allocations: 43.83 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1387, allocations: 47.67 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1389, allocations: 191.7 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1389, allocations: 0 / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1389, allocations: 0 / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.139, allocations: 0 / 0.5877 GB, free: 0.9102 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.0005406/0.1395, allocations: 470.6 kB / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1395, allocations: 12.03 kB / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.1396, allocations: 38.73 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1396, allocations: 20.69 kB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1399, allocations: 263.6 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.14, allocations: 4 kB / 0.5885 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.14, allocations: 4 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1402, allocations: 121.1 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1402, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1402, allocations: 7.984 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1403, allocations: 4 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.1405, allocations: 135.9 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.1407, allocations: 233.5 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.141, allocations: 174.5 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.1412, allocations: 64.83 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1412, allocations: 7.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1414, allocations: 103.4 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1414, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004346/0.1418, allocations: 221.4 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1419, allocations: 81.05 kB / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1421, allocations: 204.4 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1421, allocations: 33.7 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1422, allocations: 108.1 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.1422, allocations: 55.28 kB / 0.59 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1423, allocations: 29.72 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1424, allocations: 338.8 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.1425, allocations: 43.98 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1426, allocations: 78.55 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1428, allocations: 121.3 kB / 0.5905 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1428, allocations: 0 / 0.5905 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002937/0.1431, allocations: 193.4 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1431, allocations: 4 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1431, allocations: 0 / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1431, allocations: 4 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1433, allocations: 32.09 kB / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1433, allocations: 3.938 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.1433, allocations: 4 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1433, allocations: 8 kB / 0.5908 GB, free: 13.49 MB / 0.4981 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.0001016/0.1435, allocations: 144.1 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1435, allocations: 15.81 kB / 0.5909 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.1436, allocations: 29.52 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1436, allocations: 3.938 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1436, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1436, allocations: 8 kB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1438, allocations: 245.4 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1438, allocations: 0 / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.1438, allocations: 23.92 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1438, allocations: 0 / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1439, allocations: 4 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1439, allocations: 0 / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1439, allocations: 0 / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1442, allocations: 216.8 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.1442, allocations: 88.92 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1443, allocations: 7.984 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.1443, allocations: 4 kB / 0.5915 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1444, allocations: 11.98 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1444, allocations: 4 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000124/0.1445, allocations: 164 kB / 0.5917 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 0.5917 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002307/0.1448, allocations: 36 kB / 0.5917 GB, free: 12.4 MB / 0.4981 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.001333/0.1461, allocations: 1.109 MB / 0.5928 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.1464, allocations: 115.9 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1464, allocations: 0 / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1465, allocations: 63.92 kB / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1467, allocations: 31.97 kB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1487, allocations: 1.967 MB / 0.5949 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1489, allocations: 0.7205 MB / 0.5957 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.149, allocations: 53.64 kB / 0.5957 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.1491, allocations: 59.41 kB / 0.5958 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1491, allocations: 0 / 0.5958 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1742, allocations: 4.371 MB / 0.6 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.1745, allocations: 277.6 kB / 0.6003 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.778, allocations: 0 / 0.6003 GB, free: 3.801 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)