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.001834/0.001834, allocations: 107.3 kB / 16.4 MB, free: 6.496 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.002082/0.002082, allocations: 193.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.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7224/0.7224, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.05 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1542, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0571/0.2114, allocations: 60.7 MB / 0.6913 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.2302, allocations: 14.67 MB / 0.7057 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.2324, allocations: 59.62 kB / 0.7057 GB, free: 8.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.2347, allocations: 0.7258 MB / 0.7064 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.2409, allocations: 2.251 MB / 0.7086 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.2454, allocations: 1.684 MB / 0.7103 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.2517, allocations: 4.034 MB / 0.7142 GB, free: 16 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.2539, allocations: 1.289 MB / 0.7155 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004256/0.2582, allocations: 1.62 MB / 0.7171 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.2609, allocations: 1.081 MB / 0.7181 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.2612, allocations: 132 kB / 0.7182 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.266, allocations: 1.72 MB / 0.7199 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.2666, allocations: 338.8 kB / 0.7202 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.268, allocations: 0.7893 MB / 0.721 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.273, allocations: 2.715 MB / 0.7237 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.273, allocations: 3.938 kB / 0.7237 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.273, allocations: 0 / 0.7237 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.273, allocations: 0 / 0.7237 GB, free: 6.277 MB / 0.5606 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.003412/0.2764, allocations: 1.845 MB / 0.7255 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2765, allocations: 8.031 kB / 0.7255 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.277, allocations: 159.2 kB / 0.7256 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.2795, allocations: 1.326 MB / 0.7269 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.2795, allocations: 66 kB / 0.727 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2797, allocations: 88 kB / 0.7271 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2813, allocations: 0.9592 MB / 0.728 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.2813, allocations: 4 kB / 0.728 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.2814, allocations: 32 kB / 0.728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.2815, allocations: 31.94 kB / 0.7281 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2827, allocations: 0.6635 MB / 0.7287 GB, free: 0.9492 MB / 0.5606 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.006117/0.2888, allocations: 5.212 MB / 0.7338 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.2896, allocations: 411.8 kB / 0.7342 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.29, allocations: 242.1 kB / 0.7344 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.2913, allocations: 1.591 MB / 0.736 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2914, allocations: 39 kB / 0.736 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.886e-06/0.2914, allocations: 0 / 0.736 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002415/0.2938, allocations: 0.9368 MB / 0.7369 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2939, allocations: 55.84 kB / 0.737 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.2953, allocations: 0.9968 MB / 0.738 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.2954, allocations: 37.7 kB / 0.738 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.2958, allocations: 0.5813 MB / 0.7386 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.296, allocations: 189.2 kB / 0.7388 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.2962, allocations: 142.2 kB / 0.7389 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2963, allocations: 337.9 kB / 0.7392 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.2967, allocations: 203.7 kB / 0.7394 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.2972, allocations: 400.9 kB / 0.7398 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.2981, allocations: 0.6256 MB / 0.7404 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2981, allocations: 4 kB / 0.7404 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001772/0.2999, allocations: 0.8227 MB / 0.7412 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2999, allocations: 12.09 kB / 0.7412 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.3, allocations: 8 kB / 0.7412 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.3005, allocations: 112.8 kB / 0.7413 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.301, allocations: 139.7 kB / 0.7415 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005071/0.3015, allocations: 0.5992 MB / 0.7421 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.3022, allocations: 75.27 kB / 0.7421 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.3023, allocations: 35.98 kB / 0.7422 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006884/0.303, allocations: 445.7 kB / 0.7426 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004893/0.3035, allocations: 405 kB / 0.743 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008475/0.3043, allocations: 0.6294 MB / 0.7436 GB, free: 500 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.3043, allocations: 0 / 0.7436 GB, free: 500 kB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.4091/0.7135, allocations: 0.8188 MB / 0.7444 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.7136, allocations: 8.797 kB / 0.7444 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/0.7136, allocations: 10.06 kB / 0.7444 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.7142, allocations: 108.4 kB / 0.7445 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.7148, allocations: 138.8 kB / 0.7446 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/0.7153, allocations: 0.5918 MB / 0.7452 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.7163, allocations: 59.95 kB / 0.7453 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.7164, allocations: 40.72 kB / 0.7453 GB, free: 107.7 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.0002985/0.7167, allocations: 224 kB / 0.7455 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/0.7171, allocations: 118.4 kB / 0.7456 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.7197, allocations: 1.057 MB / 0.7467 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.7198, allocations: 18.41 kB / 0.7467 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7198, allocations: 0 / 0.7467 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.7213, allocations: 0.7967 MB / 0.7475 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/0.7257, allocations: 2.099 MB / 0.7495 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.7257, allocations: 7.953 kB / 0.7495 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.7262, allocations: 99.92 kB / 0.7496 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.7265, allocations: 67.22 kB / 0.7497 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.7266, allocations: 28.12 kB / 0.7497 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004094/0.727, allocations: 0.5876 MB / 0.7503 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7271, allocations: 0.875 kB / 0.7503 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.7297, allocations: 1.319 MB / 0.7516 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.7302, allocations: 300.2 kB / 0.7519 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.7304, allocations: 13.47 kB / 0.7519 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.7309, allocations: 28.45 kB / 0.7519 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.731, allocations: 53.66 kB / 0.752 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.7311, allocations: 32.17 kB / 0.752 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001163/0.7323, allocations: 0.686 MB / 0.7527 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7323, allocations: 1.094 kB / 0.7527 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002116/0.7344, allocations: 0.7472 MB / 0.7534 GB, free: 104.5 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.001269/0.7357, allocations: 0.5787 MB / 0.7539 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.7377, allocations: 1.047 MB / 0.755 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.7377, allocations: 7.219 kB / 0.755 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.7385, allocations: 424.9 kB / 0.7554 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.7415, allocations: 0.6043 MB / 0.756 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.7452, allocations: 2.124 MB / 0.758 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.7462, allocations: 1.131 MB / 0.7592 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7474, allocations: 320.4 kB / 0.7595 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.7477, allocations: 110.2 kB / 0.7596 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.7477, allocations: 0 / 0.7596 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04014/0.7879, allocations: 28.58 MB / 0.7875 GB, free: 81.16 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)