Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009742/0.000974, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001005/0.001005, allocations: 168.7 kB / 15.95 MB, free: 204 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 274.3 kB / 291.4 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004194, allocations: 14.78 kB / 0.598 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05346/0.2439, allocations: 56.01 MB / 0.7392 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.263, allocations: 13.72 MB / 0.7526 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.2662, allocations: 59.62 kB / 0.7526 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.2683, allocations: 496.7 kB / 0.7531 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.2747, allocations: 1.788 MB / 0.7549 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.279, allocations: 1.201 MB / 0.756 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006655/0.2857, allocations: 4.538 MB / 0.7605 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2879, allocations: 0.898 MB / 0.7613 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3827/0.6707, allocations: 1.264 MB / 0.7626 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.6731, allocations: 0.9899 MB / 0.7635 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.6734, allocations: 51.28 kB / 0.7636 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.6773, allocations: 1.213 MB / 0.7648 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.6778, allocations: 239 kB / 0.765 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.6787, allocations: 315.7 kB / 0.7653 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.6818, allocations: 1.911 MB / 0.7672 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6818, allocations: 0.5312 kB / 0.7672 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6818, allocations: 0.9062 kB / 0.7672 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.305e-05/0.6819, allocations: 2 kB / 0.7672 GB, free: 15.83 MB / 0.545 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.003138/0.685, allocations: 1.596 MB / 0.7687 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.685, allocations: 8.812 kB / 0.7687 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.6854, allocations: 162.3 kB / 0.7689 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.6877, allocations: 1.247 MB / 0.7701 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.6877, allocations: 68.67 kB / 0.7702 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6879, allocations: 82.84 kB / 0.7703 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.6896, allocations: 0.9552 MB / 0.7712 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.6896, allocations: 1.719 kB / 0.7712 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.6897, allocations: 40 kB / 0.7712 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.6897, allocations: 26.12 kB / 0.7713 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.6908, allocations: 0.6615 MB / 0.7719 GB, free: 14.32 MB / 0.545 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.005298/0.6961, allocations: 5.212 MB / 0.777 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.6968, allocations: 408.7 kB / 0.7774 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.6972, allocations: 240.8 kB / 0.7776 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/0.6993, allocations: 1.604 MB / 0.7792 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.6994, allocations: 43.34 kB / 0.7792 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 3.297e-06/0.6994, allocations: 3.375 kB / 0.7792 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002247/0.7016, allocations: 0.9363 MB / 0.7801 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.7017, allocations: 58.52 kB / 0.7802 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.7032, allocations: 0.9765 MB / 0.7812 GB, free: 24.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.7033, allocations: 37.45 kB / 0.7812 GB, free: 24.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.7037, allocations: 0.5713 MB / 0.7817 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.7039, allocations: 192.3 kB / 0.7819 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.704, allocations: 17.38 kB / 0.7819 GB, free: 24.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7041, allocations: 334.1 kB / 0.7823 GB, free: 24.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.7044, allocations: 196.7 kB / 0.7825 GB, free: 24.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.7048, allocations: 402 kB / 0.7828 GB, free: 24.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.7052, allocations: 259.9 kB / 0.7831 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7052, allocations: 1.531 kB / 0.7831 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001483/0.7067, allocations: 0.8305 MB / 0.7839 GB, free: 23.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.7068, allocations: 264.5 kB / 0.7841 GB, free: 23.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.7068, allocations: 10.03 kB / 0.7842 GB, free: 23.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.7073, allocations: 107.7 kB / 0.7843 GB, free: 23.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.7077, allocations: 139.2 kB / 0.7844 GB, free: 23.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004415/0.7081, allocations: 0.6021 MB / 0.785 GB, free: 23.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.7091, allocations: 111.9 kB / 0.7851 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.7091, allocations: 36.11 kB / 0.7851 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.7092, allocations: 9.828 kB / 0.7851 GB, free: 23.07 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.7104, allocations: 0.6973 MB / 0.7858 GB, free: 23.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.7104, allocations: 10.23 kB / 0.7858 GB, free: 23.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.7108, allocations: 113.9 kB / 0.7859 GB, free: 23.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.7112, allocations: 137.8 kB / 0.7861 GB, free: 23.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/0.7116, allocations: 0.6007 MB / 0.7866 GB, free: 22.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.7124, allocations: 102.1 kB / 0.7867 GB, free: 22.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.7125, allocations: 43.23 kB / 0.7868 GB, free: 22.46 MB / 0.5606 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 (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.0005803/0.7131, allocations: 373 kB / 0.7871 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7132, allocations: 110.2 kB / 0.7872 GB, free: 22.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.715, allocations: 1.067 MB / 0.7883 GB, free: 22.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.715, allocations: 10.69 kB / 0.7883 GB, free: 22.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.715, allocations: 5.875 kB / 0.7883 GB, free: 22.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.7162, allocations: 0.808 MB / 0.7891 GB, free: 21.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.7196, allocations: 2.091 MB / 0.7911 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.7196, allocations: 5.719 kB / 0.7911 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.7201, allocations: 109.2 kB / 0.7912 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003146/0.7204, allocations: 65.73 kB / 0.7913 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.7205, allocations: 23.28 kB / 0.7913 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004198/0.7209, allocations: 0.5937 MB / 0.7919 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7209, allocations: 3.078 kB / 0.7919 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.723, allocations: 1.319 MB / 0.7932 GB, free: 20.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.7235, allocations: 310.3 kB / 0.7935 GB, free: 20.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.7237, allocations: 13.78 kB / 0.7935 GB, free: 20.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.7245, allocations: 82.33 kB / 0.7936 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7246, allocations: 54.44 kB / 0.7936 GB, free: 20.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.7247, allocations: 35.3 kB / 0.7937 GB, free: 20.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009528/0.7256, allocations: 0.6629 MB / 0.7943 GB, free: 20.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7257, allocations: 0 / 0.7943 GB, free: 20.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002081/0.7277, allocations: 0.7346 MB / 0.795 GB, free: 20.35 MB / 0.5606 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 (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.000982/0.7287, allocations: 0.5419 MB / 0.7956 GB, free: 20.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7304, allocations: 1.049 MB / 0.7966 GB, free: 20.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7305, allocations: 1.469 kB / 0.7966 GB, free: 20.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.731, allocations: 427.4 kB / 0.797 GB, free: 19.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.7334, allocations: 0.5809 MB / 0.7976 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.7369, allocations: 2.707 MB / 0.8002 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.7375, allocations: 1.129 MB / 0.8013 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001099/0.7386, allocations: 323 kB / 0.8016 GB, free: 17.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.7389, allocations: 111.6 kB / 0.8017 GB, free: 17.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.7389, allocations: 2.625 kB / 0.8017 GB, free: 17.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.0418/0.7807, allocations: 25.84 MB / 0.827 GB, free: 7.59 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)