Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001944/0.001943, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8444/0.8444, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 57.36 kB / 0.5685 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1824, allocations: 77.93 MB / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05812/0.2406, allocations: 60.71 MB / 0.7038 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.2612, allocations: 14.67 MB / 0.7182 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.2653, allocations: 63.62 kB / 0.7182 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.2679, allocations: 0.7219 MB / 0.7189 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.2761, allocations: 2.251 MB / 0.7211 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006011/0.2822, allocations: 1.685 MB / 0.7228 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00803/0.2902, allocations: 4.03 MB / 0.7267 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.2931, allocations: 1.285 MB / 0.728 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/0.2978, allocations: 1.569 MB / 0.7295 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.3006, allocations: 1.089 MB / 0.7306 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007598/0.3014, allocations: 136 kB / 0.7307 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005619/0.307, allocations: 1.72 MB / 0.7324 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007365/0.3078, allocations: 342.8 kB / 0.7327 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.3097, allocations: 0.7777 MB / 0.7335 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.316, allocations: 2.733 MB / 0.7361 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.316, allocations: 0 / 0.7361 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.055e-06/0.316, allocations: 3.938 kB / 0.7361 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.452e-05/0.3161, allocations: 0 / 0.7361 GB, free: 10.94 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004527/0.3206, allocations: 1.905 MB / 0.738 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3207, allocations: 8.625 kB / 0.738 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.3214, allocations: 175.9 kB / 0.7382 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.3242, allocations: 1.321 MB / 0.7395 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.3242, allocations: 62 kB / 0.7395 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.3244, allocations: 92 kB / 0.7396 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.3262, allocations: 0.9552 MB / 0.7405 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3263, allocations: 3.953 kB / 0.7405 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.3264, allocations: 36 kB / 0.7406 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.3264, allocations: 27.98 kB / 0.7406 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3277, allocations: 0.6635 MB / 0.7412 GB, free: 5.539 MB / 0.5762 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.4779/0.8056, allocations: 5.223 MB / 0.7463 GB, free: 98.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.8069, allocations: 403.7 kB / 0.7467 GB, free: 98.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.8075, allocations: 243.8 kB / 0.747 GB, free: 98.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.8089, allocations: 1.592 MB / 0.7485 GB, free: 96.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.8089, allocations: 39.56 kB / 0.7486 GB, free: 96.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.837e-06/0.8089, allocations: 0 / 0.7486 GB, free: 96.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002748/0.8117, allocations: 0.9361 MB / 0.7495 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.8117, allocations: 61.72 kB / 0.7495 GB, free: 96.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.8134, allocations: 1 MB / 0.7505 GB, free: 95.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.8134, allocations: 41 kB / 0.7505 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.8139, allocations: 0.5905 MB / 0.7511 GB, free: 95.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.8141, allocations: 203.8 kB / 0.7513 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.8143, allocations: 141.2 kB / 0.7514 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.8144, allocations: 333.2 kB / 0.7518 GB, free: 94.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.8147, allocations: 201.9 kB / 0.752 GB, free: 94.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.8153, allocations: 402.2 kB / 0.7523 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.8162, allocations: 0.6276 MB / 0.753 GB, free: 94.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.8162, allocations: 1.844 kB / 0.753 GB, free: 94.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001978/0.8182, allocations: 0.8259 MB / 0.7538 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.8182, allocations: 12.66 kB / 0.7538 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.8183, allocations: 7.688 kB / 0.7538 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.8189, allocations: 111.3 kB / 0.7539 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.8194, allocations: 139.1 kB / 0.754 GB, free: 93.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004466/0.8198, allocations: 0.6034 MB / 0.7546 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.8206, allocations: 75.91 kB / 0.7547 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/0.8207, allocations: 36.16 kB / 0.7547 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000832/0.8215, allocations: 437.5 kB / 0.7551 GB, free: 92.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005191/0.822, allocations: 405.3 kB / 0.7555 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009539/0.823, allocations: 0.6221 MB / 0.7561 GB, free: 92.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/0.823, allocations: 4.672 kB / 0.7561 GB, free: 92.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002234/0.8253, allocations: 0.8347 MB / 0.7569 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.8253, allocations: 7.438 kB / 0.757 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.8253, allocations: 8.422 kB / 0.757 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.8259, allocations: 111 kB / 0.7571 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.8263, allocations: 136.3 kB / 0.7572 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003728/0.8267, allocations: 0.5981 MB / 0.7578 GB, free: 91.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.8275, allocations: 60.22 kB / 0.7578 GB, free: 91.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.8276, allocations: 38.36 kB / 0.7579 GB, free: 91.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.8279, allocations: 228.8 kB / 0.7581 GB, free: 91.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.8283, allocations: 119.1 kB / 0.7582 GB, free: 91.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.8316, allocations: 1.061 MB / 0.7592 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/0.8317, allocations: 11.3 kB / 0.7593 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.8317, allocations: 3.75 kB / 0.7593 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/0.8335, allocations: 0.808 MB / 0.76 GB, free: 90.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.8393, allocations: 2.1 MB / 0.7621 GB, free: 89.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.8394, allocations: 4.172 kB / 0.7621 GB, free: 89.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.8398, allocations: 100.6 kB / 0.7622 GB, free: 89.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.8402, allocations: 68.5 kB / 0.7623 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.8404, allocations: 19 kB / 0.7623 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005529/0.8409, allocations: 0.5944 MB / 0.7629 GB, free: 88.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.8409, allocations: 3.594 kB / 0.7629 GB, free: 88.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.8445, allocations: 1.325 MB / 0.7642 GB, free: 87.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009502/0.8455, allocations: 301.2 kB / 0.7644 GB, free: 87.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.8458, allocations: 12.05 kB / 0.7645 GB, free: 87.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.8466, allocations: 34.55 kB / 0.7645 GB, free: 87.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.8468, allocations: 53.06 kB / 0.7645 GB, free: 87.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.8469, allocations: 35.56 kB / 0.7646 GB, free: 87.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002058/0.8489, allocations: 0.6904 MB / 0.7653 GB, free: 87.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.11e-07/0.849, allocations: 0 / 0.7653 GB, free: 87.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003714/0.8527, allocations: 0.7515 MB / 0.766 GB, free: 87.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.8544, allocations: 0.585 MB / 0.7666 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002523/0.857, allocations: 1.06 MB / 0.7676 GB, free: 86.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.857, allocations: 1.031 kB / 0.7676 GB, free: 86.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.8577, allocations: 429.8 kB / 0.768 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.8609, allocations: 0.602 MB / 0.7686 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.8653, allocations: 2.167 MB / 0.7707 GB, free: 85.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.8663, allocations: 1.131 MB / 0.7718 GB, free: 84.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001432/0.8678, allocations: 314.9 kB / 0.7721 GB, free: 84.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.8681, allocations: 105.4 kB / 0.7722 GB, free: 84.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.8681, allocations: 4 kB / 0.7722 GB, free: 84.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.04209/0.9102, allocations: 28.17 MB / 0.7997 GB, free: 61.77 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)