Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_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.001226/0.001226, allocations: 99.86 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.0012/0.0012, 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 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.28/2.28, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005429/0.000543, allocations: 17.88 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3168, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003044/0.3199, allocations: 1.34 MB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.3223, allocations: 1.297 MB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3224, allocations: 3.938 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.323, allocations: 43.81 kB / 0.7899 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3232, allocations: 47.81 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.3235, allocations: 67.86 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3237, allocations: 107.8 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.3238, allocations: 8.219 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3239, allocations: 55.77 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.3241, allocations: 51.83 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3242, allocations: 8 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3243, allocations: 39.92 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.3244, allocations: 39.89 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.3245, allocations: 45.62 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3247, allocations: 139.9 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3247, allocations: 4 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3247, allocations: 4 kB / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3248, allocations: 0 / 0.7905 GB, free: 8.57 MB / 0.6075 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.000746/0.3255, allocations: 438.7 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3256, allocations: 8.031 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.3256, allocations: 38.55 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.3257, allocations: 23.7 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.3262, allocations: 262.4 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3262, allocations: 4 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3262, allocations: 12 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.3266, allocations: 115.3 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3266, allocations: 0 / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3266, allocations: 7.938 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3266, allocations: 0 / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.3269, allocations: 143.8 kB / 0.7915 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3273, allocations: 229.5 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.3277, allocations: 174.6 kB / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3277, allocations: 4 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.3281, allocations: 115.3 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3281, allocations: 0 / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005495/0.3286, allocations: 224.4 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.3287, allocations: 81.11 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.329, allocations: 202.8 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3291, allocations: 29.7 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3292, allocations: 112.1 kB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.3293, allocations: 51.34 kB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3293, allocations: 0 / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3295, allocations: 334.8 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3296, allocations: 47.98 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3298, allocations: 74.48 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3299, allocations: 59.98 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3299, allocations: 0 / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003065/0.3302, allocations: 193.4 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3302, allocations: 4 kB / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3302, allocations: 0 / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3303, allocations: 4 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3304, allocations: 23.98 kB / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3304, allocations: 4.062 kB / 0.7933 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.3305, allocations: 11.94 kB / 0.7933 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3305, allocations: 4 kB / 0.7934 GB, free: 5.348 MB / 0.6075 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.0001434/0.3307, allocations: 148.3 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3307, allocations: 15.81 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.3308, allocations: 25.52 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3308, allocations: 3.984 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3308, allocations: 4 kB / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3308, allocations: 4 kB / 0.7935 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.331, allocations: 241.6 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3311, allocations: 0 / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.3311, allocations: 23.92 kB / 0.7938 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3311, allocations: 0 / 0.7938 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3312, allocations: 7.938 kB / 0.7938 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3312, allocations: 0 / 0.7938 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3312, allocations: 0 / 0.7938 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.3316, allocations: 216.8 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.3316, allocations: 96.91 kB / 0.7941 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3317, allocations: 4 kB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.3317, allocations: 4 kB / 0.7941 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3318, allocations: 11.98 kB / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3318, allocations: 15.98 kB / 0.7941 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001566/0.332, allocations: 152 kB / 0.7943 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.332, allocations: 0 / 0.7943 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002678/0.3323, allocations: 39.98 kB / 0.7943 GB, free: 4.258 MB / 0.6075 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.001637/0.3339, allocations: 1.102 MB / 0.7954 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3342, allocations: 124 kB / 0.7955 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3342, allocations: 0 / 0.7955 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3344, allocations: 63.91 kB / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3346, allocations: 23.98 kB / 0.7956 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3364, allocations: 1.132 MB / 0.7967 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3367, allocations: 0.728 MB / 0.7974 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.3369, allocations: 53.64 kB / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.337, allocations: 55.41 kB / 0.7975 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.337, allocations: 0 / 0.7975 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3557, allocations: 4.152 MB / 0.8016 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/0.3561, allocations: 249 kB / 0.8018 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.277, allocations: 3.938 kB / 0.8018 GB, free: 12.85 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: