Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_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.001024/0.001024, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001069/0.001069, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.221/1.221, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.704/0.704, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2948, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002801/0.2977, allocations: 1.62 MB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2994, allocations: 1.485 MB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.2995, allocations: 0.9062 kB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.2999, allocations: 56.03 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3001, allocations: 57.42 kB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.3003, allocations: 107.1 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3006, allocations: 163.9 kB / 0.5707 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3006, allocations: 9.938 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.3007, allocations: 62.77 kB / 0.5708 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3009, allocations: 68.73 kB / 0.5708 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3009, allocations: 10.12 kB / 0.5709 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.301, allocations: 69.52 kB / 0.5709 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3011, allocations: 43.75 kB / 0.571 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.3012, allocations: 61.72 kB / 0.571 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3014, allocations: 193.2 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3015, allocations: 5.188 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3015, allocations: 0 / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3015, allocations: 0 / 0.5712 GB, free: 30.13 MB / 446.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.0005029/0.302, allocations: 468 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.302, allocations: 9.188 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.3021, allocations: 38.53 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3021, allocations: 17.88 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3024, allocations: 260 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3024, allocations: 4.062 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3024, allocations: 11.56 kB / 0.572 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3026, allocations: 118.4 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3027, allocations: 0.6562 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3027, allocations: 1.531 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3027, allocations: 0 / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.3029, allocations: 144.9 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.3031, allocations: 236 kB / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.3035, allocations: 171.6 kB / 0.5726 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.3036, allocations: 52.88 kB / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3036, allocations: 14.7 kB / 0.5727 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.3038, allocations: 107.9 kB / 0.5728 GB, free: 28.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3039, allocations: 3.938 kB / 0.5728 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004456/0.3043, allocations: 218.1 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3043, allocations: 84.14 kB / 0.5731 GB, free: 28.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3045, allocations: 202.7 kB / 0.5733 GB, free: 28.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3046, allocations: 31.22 kB / 0.5733 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.3046, allocations: 114.9 kB / 0.5734 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3047, allocations: 50.08 kB / 0.5735 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.3047, allocations: 31.8 kB / 0.5735 GB, free: 28.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.3048, allocations: 326.5 kB / 0.5738 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/0.3049, allocations: 51.02 kB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.305, allocations: 75.66 kB / 0.5739 GB, free: 28.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3052, allocations: 126.4 kB / 0.574 GB, free: 27.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3052, allocations: 3.938 kB / 0.574 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002814/0.3055, allocations: 195.8 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3055, allocations: 6.062 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3055, allocations: 0.5625 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3055, allocations: 1.891 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3056, allocations: 26.5 kB / 0.5743 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3056, allocations: 1.5 kB / 0.5743 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.3057, allocations: 13.25 kB / 0.5743 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3057, allocations: 8.984 kB / 0.5743 GB, free: 27.85 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 ($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 8.215e-05/0.3058, allocations: 141.3 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3058, allocations: 15.78 kB / 0.5744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.3059, allocations: 25.86 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3059, allocations: 6.562 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3059, allocations: 1.219 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3059, allocations: 0 / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3061, allocations: 242.1 kB / 0.5747 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3061, allocations: 0.875 kB / 0.5747 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.3061, allocations: 23.77 kB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3061, allocations: 1.812 kB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3062, allocations: 2.375 kB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3062, allocations: 4.688 kB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3062, allocations: 3.938 kB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3065, allocations: 212.7 kB / 0.5749 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.3065, allocations: 101.4 kB / 0.575 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3065, allocations: 2.281 kB / 0.575 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.3066, allocations: 11.41 kB / 0.5751 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3066, allocations: 8.812 kB / 0.5751 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3067, allocations: 7.406 kB / 0.5751 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3068, allocations: 162.5 kB / 0.5752 GB, free: 27.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3068, allocations: 0 / 0.5752 GB, free: 27.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.307, allocations: 32.3 kB / 0.5753 GB, free: 27.12 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 (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.001306/0.3084, allocations: 1.091 MB / 0.5763 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3086, allocations: 140.4 kB / 0.5765 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3086, allocations: 0 / 0.5765 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3087, allocations: 61.3 kB / 0.5765 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.309, allocations: 32.69 kB / 0.5765 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3107, allocations: 1.942 MB / 0.5784 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3108, allocations: 0.7225 MB / 0.5791 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3109, allocations: 48.7 kB / 0.5792 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.311, allocations: 58.09 kB / 0.5792 GB, free: 24.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.311, allocations: 0 / 0.5792 GB, free: 24.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/0.3613, allocations: 4.592 MB / 0.5837 GB, free: 22.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.397, allocations: 12.95 kB / 0.5837 GB, free: 22.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)