Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.4 MB / 303.6 MB, free: 8.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 179.9 kB / 372.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.631 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007521/0.0007521, allocations: 89.88 kB / 0.7444 GB, free: 64.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006251, allocations: 16 kB / 0.8676 GB, free: 492 kB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2637, allocations: 115.3 MB / 0.9802 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04575/0.3095, allocations: 41.19 MB / 1.02 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4195/0.729, allocations: 12.13 MB / 1.032 GB, free: 64.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.7304, allocations: 40.48 kB / 1.032 GB, free: 64.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.7315, allocations: 410 kB / 1.033 GB, free: 64.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.7366, allocations: 1.636 MB / 1.034 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.7404, allocations: 0.9705 MB / 1.035 GB, free: 64.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005465/0.7458, allocations: 3.635 MB / 1.039 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7476, allocations: 0.8294 MB / 1.04 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.7504, allocations: 1.105 MB / 1.041 GB, free: 63.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.7519, allocations: 0.8321 MB / 1.041 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.7521, allocations: 50.03 kB / 1.042 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.7552, allocations: 1.348 MB / 1.043 GB, free: 63.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.7554, allocations: 200.9 kB / 1.043 GB, free: 63.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.7562, allocations: 0.5839 MB / 1.044 GB, free: 63.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.7586, allocations: 1.8 MB / 1.045 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7587, allocations: 0 / 1.045 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7587, allocations: 2.188 kB / 1.045 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.7587, allocations: 2.625 kB / 1.045 GB, free: 63.31 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002886/0.7616, allocations: 1.424 MB / 1.047 GB, free: 62.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7616, allocations: 9.25 kB / 1.047 GB, free: 62.46 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.7618, allocations: 107.6 kB / 1.047 GB, free: 62.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.7621, allocations: 135 kB / 1.047 GB, free: 62.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.7643, allocations: 1.203 MB / 1.048 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.7643, allocations: 55.27 kB / 1.048 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.7644, allocations: 67.38 kB / 1.048 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.7656, allocations: 0.7582 MB / 1.049 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7656, allocations: 1.031 kB / 1.049 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.7657, allocations: 25.75 kB / 1.049 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.7657, allocations: 16.84 kB / 1.049 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.7666, allocations: 0.5274 MB / 1.05 GB, free: 61.82 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.7709, allocations: 4.539 MB / 1.054 GB, free: 59.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.7716, allocations: 353.5 kB / 1.054 GB, free: 59.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.7719, allocations: 211.3 kB / 1.055 GB, free: 59.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7729, allocations: 1.519 MB / 1.056 GB, free: 57.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.7729, allocations: 41.94 kB / 1.056 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 3.136e-06/0.7729, allocations: 4.938 kB / 1.056 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.002016/0.7749, allocations: 0.8825 MB / 1.057 GB, free: 57.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.775, allocations: 62.55 kB / 1.057 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.7761, allocations: 0.8785 MB / 1.058 GB, free: 56.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.7761, allocations: 34.48 kB / 1.058 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.7764, allocations: 494 kB / 1.058 GB, free: 56.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.7766, allocations: 156.6 kB / 1.059 GB, free: 56.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.7766, allocations: 9.75 kB / 1.059 GB, free: 56.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.7767, allocations: 327.5 kB / 1.059 GB, free: 56.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.7769, allocations: 172.9 kB / 1.059 GB, free: 56.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.7772, allocations: 329 kB / 1.059 GB, free: 56.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.7778, allocations: 0.5172 MB / 1.06 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7779, allocations: 0 / 1.06 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001272/0.7791, allocations: 0.7215 MB / 1.061 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.7792, allocations: 203.6 kB / 1.061 GB, free: 55.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.7792, allocations: 6.594 kB / 1.061 GB, free: 55.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.7798, allocations: 128.2 kB / 1.061 GB, free: 55.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.7801, allocations: 112.4 kB / 1.061 GB, free: 55.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/0.7805, allocations: 0.622 MB / 1.062 GB, free: 55.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/0.7813, allocations: 96.06 kB / 1.062 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.7814, allocations: 33.25 kB / 1.062 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.7814, allocations: 8.469 kB / 1.062 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.7825, allocations: 0.6011 MB / 1.062 GB, free: 54.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.7825, allocations: 6.688 kB / 1.062 GB, free: 54.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.7829, allocations: 120 kB / 1.062 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.7833, allocations: 115.1 kB / 1.063 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00031/0.7836, allocations: 0.6249 MB / 1.063 GB, free: 54.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.7843, allocations: 89.89 kB / 1.063 GB, free: 54.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.7844, allocations: 29.33 kB / 1.063 GB, free: 54.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.7849, allocations: 345.9 kB / 1.064 GB, free: 54.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.785, allocations: 94.72 kB / 1.064 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.7866, allocations: 1.015 MB / 1.065 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.7866, allocations: 15.61 kB / 1.065 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7867, allocations: 0.5 kB / 1.065 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.7877, allocations: 0.9187 MB / 1.066 GB, free: 53.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.7903, allocations: 1.942 MB / 1.067 GB, free: 53.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.7903, allocations: 3.344 kB / 1.067 GB, free: 53.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.7907, allocations: 92.62 kB / 1.068 GB, free: 53.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.791, allocations: 93.53 kB / 1.068 GB, free: 53.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.791, allocations: 22.34 kB / 1.068 GB, free: 53.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002986/0.7914, allocations: 0.6199 MB / 1.068 GB, free: 52.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.7914, allocations: 3.031 kB / 1.068 GB, free: 52.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.7929, allocations: 1.253 MB / 1.069 GB, free: 52.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.7934, allocations: 285.3 kB / 1.07 GB, free: 52.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7935, allocations: 21.69 kB / 1.07 GB, free: 52.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/0.794, allocations: 61.03 kB / 1.07 GB, free: 52.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.7941, allocations: 54.19 kB / 1.07 GB, free: 52.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.7942, allocations: 27.8 kB / 1.07 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007569/0.795, allocations: 0.6095 MB / 1.071 GB, free: 52.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.795, allocations: 0 / 1.071 GB, free: 52.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001577/0.7966, allocations: 0.6127 MB / 1.071 GB, free: 52.05 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/0.7991, allocations: 2.18 MB / 1.073 GB, free: 51.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.8005, allocations: 0.9368 MB / 1.074 GB, free: 51.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8005, allocations: 2.875 kB / 1.074 GB, free: 51.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.801, allocations: 399.9 kB / 1.075 GB, free: 50.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.8032, allocations: 467.2 kB / 1.075 GB, free: 50.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/0.8132, allocations: 5.934 MB / 1.081 GB, free: 48.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.8136, allocations: 1.055 MB / 1.082 GB, free: 47.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009164/0.8145, allocations: 279.9 kB / 1.082 GB, free: 47.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.815, allocations: 411 kB / 1.082 GB, free: 47.65 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.815, allocations: 0 / 1.082 GB, free: 47.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6814/1.496, allocations: 33.39 MB / 1.115 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.497, allocations: 282.5 kB / 1.115 GB, free: 44.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.707, allocations: 0 / 1.115 GB, free: 44.34 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)