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.0008967/0.0008967, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 16.2 kB / 0.5071 GB, free: 4.977 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2033, allocations: 82.31 MB / 0.5875 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001952/0.2054, allocations: 1.329 MB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2074, allocations: 1.363 MB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.2074, allocations: 3.938 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.2079, allocations: 55.81 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.208, allocations: 35.84 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2083, allocations: 88.59 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.2085, allocations: 143.6 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.2086, allocations: 8.172 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2087, allocations: 55.78 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2089, allocations: 67.8 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2089, allocations: 4 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2091, allocations: 51.98 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.2091, allocations: 43.83 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2092, allocations: 41.62 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.2094, allocations: 139.9 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2094, allocations: 4 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2094, allocations: 4 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2095, allocations: 0 / 0.5908 GB, free: 15.38 MB / 0.4981 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.0005993/0.2101, allocations: 446.6 kB / 0.5913 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2101, allocations: 8.031 kB / 0.5913 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.2102, allocations: 42.48 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.2102, allocations: 15.81 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.2106, allocations: 255.9 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2106, allocations: 4 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2106, allocations: 8 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2108, allocations: 113.2 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2109, allocations: 3.938 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.2109, allocations: 4 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2109, allocations: 0 / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.2111, allocations: 139.9 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.2114, allocations: 233.5 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2118, allocations: 178.6 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2119, allocations: 60.83 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.2119, allocations: 4 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.2122, allocations: 115 kB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2122, allocations: 0 / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004496/0.2127, allocations: 225.4 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2127, allocations: 77.11 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2129, allocations: 203.2 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.213, allocations: 33.7 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.213, allocations: 108.1 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2131, allocations: 51.38 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2131, allocations: 0 / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2133, allocations: 338.7 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2134, allocations: 47.98 kB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2135, allocations: 77.86 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2136, allocations: 55.98 kB / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2136, allocations: 0 / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003005/0.2139, allocations: 189.4 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2139, allocations: 10.34 kB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.214, allocations: 4.062 kB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.214, allocations: 0 / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2141, allocations: 23.98 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2141, allocations: 4 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.2142, allocations: 11.89 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2142, allocations: 8 kB / 0.5938 GB, free: 12.1 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 ($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.0001338/0.2143, allocations: 137.7 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.2144, allocations: 15.81 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.2144, allocations: 33.5 kB / 0.594 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2144, allocations: 4 kB / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2145, allocations: 3.938 kB / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2145, allocations: 0 / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.2147, allocations: 245.4 kB / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2147, allocations: 0 / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.2148, allocations: 20 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2148, allocations: 0 / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2148, allocations: 11.98 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2148, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2148, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.2151, allocations: 212.8 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.2152, allocations: 96.88 kB / 0.5945 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2152, allocations: 8 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.2153, allocations: 3.984 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2153, allocations: 11.98 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2154, allocations: 4 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000151/0.2155, allocations: 164 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2155, allocations: 4 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002462/0.2158, allocations: 32 kB / 0.5947 GB, free: 11.01 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 (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.001541/0.2173, allocations: 1.106 MB / 0.5958 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2176, allocations: 125.4 kB / 0.5959 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2176, allocations: 0 / 0.5959 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2177, allocations: 55.98 kB / 0.596 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.218, allocations: 30.03 kB / 0.596 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2195, allocations: 0.9922 MB / 0.597 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2198, allocations: 0.7244 MB / 0.5977 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.2199, allocations: 49.66 kB / 0.5978 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.22, allocations: 59.41 kB / 0.5978 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.22, allocations: 3.938 kB / 0.5978 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.237, allocations: 4.159 MB / 0.6019 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.2374, allocations: 242 kB / 0.6021 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.095, allocations: 4 kB / 0.6021 GB, free: 3.746 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/linux/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) Environment - environmentSimulation: