Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_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.001136/0.001141, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001415/0.001415, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.277/2.277, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.035/1.035, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005715/0.0005716, allocations: 16 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7092, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002565/0.7119, allocations: 1.327 MB / 0.5843 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.7149, allocations: 1.364 MB / 0.5856 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.715, allocations: 3.938 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.7157, allocations: 46.05 kB / 0.5857 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.716, allocations: 46.8 kB / 0.5857 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.7165, allocations: 86.88 kB / 0.5858 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.7168, allocations: 105.5 kB / 0.5859 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.7169, allocations: 9.891 kB / 0.5859 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.7171, allocations: 54.31 kB / 0.5859 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.7173, allocations: 55.75 kB / 0.586 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.7174, allocations: 5.656 kB / 0.586 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.7176, allocations: 44.94 kB / 0.586 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.7177, allocations: 39.41 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.7178, allocations: 45.42 kB / 0.5861 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.7182, allocations: 139 kB / 0.5863 GB, free: 1.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7182, allocations: 0 / 0.5863 GB, free: 1.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7182, allocations: 0 / 0.5863 GB, free: 1.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.7182, allocations: 1.656 kB / 0.5863 GB, free: 1.793 MB / 430.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.0008488/0.7191, allocations: 450.4 kB / 0.5867 GB, free: 1.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.7191, allocations: 9.25 kB / 0.5867 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.7192, allocations: 38.7 kB / 0.5867 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.7193, allocations: 15.94 kB / 0.5868 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.7198, allocations: 254.3 kB / 0.587 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.7199, allocations: 6.281 kB / 0.587 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.7199, allocations: 4.156 kB / 0.587 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.7203, allocations: 118.1 kB / 0.5871 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.7203, allocations: 4.781 kB / 0.5871 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.7203, allocations: 5.25 kB / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.7203, allocations: 1.719 kB / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.7208, allocations: 140.2 kB / 0.5873 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.7211, allocations: 239.1 kB / 0.5875 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.7217, allocations: 169.2 kB / 0.5877 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.7217, allocations: 9.797 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003607/0.7221, allocations: 116.8 kB / 0.5878 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.7221, allocations: 0 / 0.5878 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006949/0.7228, allocations: 221.2 kB / 0.588 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.7229, allocations: 83.39 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.7232, allocations: 199.7 kB / 0.5883 GB, free: 280 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.7232, allocations: 31.98 kB / 0.5883 GB, free: 244 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.7233, allocations: 113.8 kB / 0.5884 GB, free: 136 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.7234, allocations: 47.86 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.7234, allocations: 1.25 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.7236, allocations: 334 kB / 0.5888 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.7238, allocations: 44.92 kB / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.7239, allocations: 70.61 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.7241, allocations: 56.53 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7241, allocations: 5.375 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005237/0.7247, allocations: 189.4 kB / 0.5891 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7247, allocations: 4.844 kB / 0.5891 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7247, allocations: 1.156 kB / 0.5891 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7248, allocations: 1.406 kB / 0.5891 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.7249, allocations: 33.91 kB / 0.5892 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.725, allocations: 0.9062 kB / 0.5892 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.986e-05/0.7251, allocations: 12.53 kB / 0.5892 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.7251, allocations: 8.812 kB / 0.5892 GB, free: 15.58 MB / 446.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.7253, allocations: 145.5 kB / 0.5893 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.7254, allocations: 20.98 kB / 0.5893 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.7255, allocations: 25.58 kB / 0.5894 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7255, allocations: 2.281 kB / 0.5894 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7255, allocations: 0 / 0.5894 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.7255, allocations: 1.688 kB / 0.5894 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.7259, allocations: 231.9 kB / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7259, allocations: 0 / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.726, allocations: 26.72 kB / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.726, allocations: 4 kB / 0.5896 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.726, allocations: 8.5 kB / 0.5896 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.726, allocations: 2.078 kB / 0.5896 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.726, allocations: 0 / 0.5896 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.7266, allocations: 207.3 kB / 0.5898 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.7267, allocations: 99.83 kB / 0.5899 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.7268, allocations: 4.203 kB / 0.5899 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.7269, allocations: 10.66 kB / 0.5899 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.7269, allocations: 10.19 kB / 0.5899 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.727, allocations: 10.48 kB / 0.5899 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.7272, allocations: 161.9 kB / 0.5901 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7272, allocations: 0 / 0.5901 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.7277, allocations: 36.7 kB / 0.5901 GB, free: 14.86 MB / 446.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 (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.002401/0.7302, allocations: 1.104 MB / 0.5912 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.7306, allocations: 116.8 kB / 0.5913 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.7306, allocations: 4.062 kB / 0.5913 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.7308, allocations: 68.98 kB / 0.5914 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.7312, allocations: 28.47 kB / 0.5914 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.7338, allocations: 1.121 MB / 0.5925 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.7342, allocations: 0.7282 MB / 0.5932 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.7345, allocations: 53.64 kB / 0.5933 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.7347, allocations: 57.03 kB / 0.5933 GB, free: 12.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7347, allocations: 0.7188 kB / 0.5933 GB, free: 12.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.7853, allocations: 4.134 MB / 0.5974 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004181/0.7858, allocations: 241.9 kB / 0.5976 GB, free: 11.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.604, allocations: 3.5 kB / 0.5976 GB, free: 11.43 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: