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.001491/0.00149, allocations: 100 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.002072/0.002072, 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 1.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006531, allocations: 12.97 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2743, allocations: 82.31 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003539/0.2779, allocations: 1.319 MB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.2815, allocations: 1.36 MB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.2817, allocations: 3.938 kB / 0.5899 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.2824, allocations: 47.81 kB / 0.59 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.2828, allocations: 43.83 kB / 0.59 GB, free: 252 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.2834, allocations: 91.7 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.2838, allocations: 99.81 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.2839, allocations: 8.219 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.2841, allocations: 55.88 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2844, allocations: 55.77 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2844, allocations: 4 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.2846, allocations: 43.97 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.2848, allocations: 43.83 kB / 0.5904 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.2848, allocations: 41.64 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.2853, allocations: 139.9 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2853, allocations: 0 / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2853, allocations: 4 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2853, allocations: 0 / 0.5906 GB, free: 15.66 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.00105/0.2864, allocations: 442.6 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.2865, allocations: 12.02 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.108e-05/0.2866, allocations: 42.56 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.2867, allocations: 15.81 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.2873, allocations: 254.7 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2873, allocations: 4 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.2874, allocations: 4 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2878, allocations: 119.3 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2878, allocations: 0 / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2878, allocations: 7.938 kB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2879, allocations: 4 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.2883, allocations: 147.8 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.2887, allocations: 221.5 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.2894, allocations: 174.5 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.2895, allocations: 15.97 kB / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.29, allocations: 107.3 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 3.386e-06/0.29, allocations: 0 / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0008481/0.2909, allocations: 224.6 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.2909, allocations: 85.11 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2914, allocations: 200.4 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.2914, allocations: 33.7 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2915, allocations: 112.1 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.2917, allocations: 47.39 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.2917, allocations: 0 / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2919, allocations: 334.8 kB / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2921, allocations: 43.98 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2924, allocations: 74.55 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2926, allocations: 55.98 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2926, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006017/0.2932, allocations: 189.4 kB / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.2933, allocations: 8 kB / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2933, allocations: 0 / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2933, allocations: 0 / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2935, allocations: 27.98 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2936, allocations: 12.33 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2937, allocations: 11.89 kB / 0.5935 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2938, allocations: 7.984 kB / 0.5935 GB, free: 12.44 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.0002331/0.294, allocations: 141.7 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2941, allocations: 15.81 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.2942, allocations: 29.52 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2943, allocations: 0 / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.2943, allocations: 0 / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2943, allocations: 0 / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.2947, allocations: 241.5 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2947, allocations: 4 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2948, allocations: 15.98 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2948, allocations: 7.938 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2949, allocations: 11.92 kB / 0.5939 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2949, allocations: 4 kB / 0.5939 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2949, allocations: 0 / 0.5939 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.2955, allocations: 212.5 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2957, allocations: 104.9 kB / 0.5942 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.2957, allocations: 4 kB / 0.5942 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.2958, allocations: 4 kB / 0.5942 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.2959, allocations: 11.98 kB / 0.5942 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.296, allocations: 7.984 kB / 0.5943 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002536/0.2962, allocations: 160 kB / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2963, allocations: 0 / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000505/0.2968, allocations: 35.98 kB / 0.5944 GB, free: 11.34 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.002922/0.2997, allocations: 1.096 MB / 0.5955 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005386/0.3003, allocations: 123.9 kB / 0.5956 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3003, allocations: 0 / 0.5956 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3005, allocations: 70.53 kB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.301, allocations: 26.39 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3042, allocations: 1.123 MB / 0.5968 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.3049, allocations: 0.7321 MB / 0.5975 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.3052, allocations: 57.62 kB / 0.5976 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3054, allocations: 59.41 kB / 0.5976 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.3055, allocations: 3.938 kB / 0.5976 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.3544, allocations: 4.131 MB / 0.6017 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.3548, allocations: 248.7 kB / 0.6019 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/3.461, allocations: 0 / 0.6019 GB, free: 3.98 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: