Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 114.5 kB / 17.09 MB, free: 5.961 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.0009605/0.0009606, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.216/1.216, allocations: 222.9 MB / 241.7 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.6614/0.6614, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 66.77 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06933/0.1772, allocations: 80.96 MB / 0.7118 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.2032, allocations: 21.05 MB / 0.7323 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.2059, allocations: 107.4 kB / 0.7324 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.2104, allocations: 1.95 MB / 0.7343 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006127/0.2165, allocations: 2.956 MB / 0.7372 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005082/0.2216, allocations: 2.499 MB / 0.7397 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3039/0.5256, allocations: 18.41 MB / 0.7577 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.5387, allocations: 7.228 MB / 0.7647 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.5505, allocations: 5.971 MB / 0.7705 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007777/0.5583, allocations: 5.116 MB / 0.7755 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.5598, allocations: 0.5496 MB / 0.7761 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005077/0.5649, allocations: 1.981 MB / 0.778 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.5664, allocations: 1.767 MB / 0.7797 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005132/0.5716, allocations: 3.476 MB / 0.7831 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009331/0.5809, allocations: 9.684 MB / 0.7926 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5809, allocations: 3 kB / 0.7926 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.581, allocations: 2.375 kB / 0.7926 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001904/0.5812, allocations: 4 kB / 0.7926 GB, free: 13.33 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: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01172/0.5929, allocations: 6.9 MB / 0.7993 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5929, allocations: 8 kB / 0.7993 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.5968, allocations: 0.9592 MB / 0.8003 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/0.606, allocations: 6.404 MB / 0.8065 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.6062, allocations: 260.5 kB / 0.8068 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005965/0.6068, allocations: 341.9 kB / 0.8071 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007675/0.6144, allocations: 5.735 MB / 0.8127 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.979e-05/0.6145, allocations: 14.94 kB / 0.8127 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.615, allocations: 143.9 kB / 0.8129 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.436e-05/0.6151, allocations: 118 kB / 0.813 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009026/0.6241, allocations: 5.568 MB / 0.8184 GB, free: 9.395 MB / 0.5919 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.03146/0.6556, allocations: 24.08 MB / 0.8419 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.6601, allocations: 2.758 MB / 0.8446 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.6629, allocations: 1.906 MB / 0.8465 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.6739, allocations: 7.172 MB / 0.8535 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002957/0.6769, allocations: 1.913 MB / 0.8554 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003149/0.6801, allocations: 0.7275 MB / 0.8561 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=154): time 4.779e-06/0.6801, allocations: 0 / 0.8561 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154): time 0.02283/0.7029, allocations: 8.018 MB / 0.8639 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.703, allocations: 68.72 kB / 0.864 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00726/0.7103, allocations: 5.602 MB / 0.8694 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003929/0.7107, allocations: 65.69 kB / 0.8695 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.7128, allocations: 2.594 MB / 0.872 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007147/0.7136, allocations: 0.5583 MB / 0.8726 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.7146, allocations: 0.7664 MB / 0.8733 GB, free: 368 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.7147, allocations: 301.1 kB / 0.8736 GB, free: 64 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.7176, allocations: 1.9 MB / 0.8755 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.7213, allocations: 3.155 MB / 0.8785 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/0.7278, allocations: 5.029 MB / 0.8835 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.7278, allocations: 11.75 kB / 0.8835 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01202/0.7398, allocations: 6.811 MB / 0.8901 GB, free: 14.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.7399, allocations: 45.7 kB / 0.8902 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/0.74, allocations: 36 kB / 0.8902 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0786/0.8186, allocations: 13.54 MB / 0.9034 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.8215, allocations: 0.7048 MB / 0.9041 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009486/0.831, allocations: 5.486 MB / 0.9095 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/0.8356, allocations: 239.8 kB / 0.9097 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/0.8361, allocations: 199.8 kB / 0.9099 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005088/0.8412, allocations: 3.269 MB / 0.9131 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003602/0.8449, allocations: 3.112 MB / 0.9161 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006281/0.8511, allocations: 4.923 MB / 0.9209 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.782e-05/0.8512, allocations: 12 kB / 0.9209 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01114/0.8623, allocations: 6.513 MB / 0.9273 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.8624, allocations: 45.7 kB / 0.9273 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.8625, allocations: 39.98 kB / 0.9274 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07949/0.942, allocations: 13.3 MB / 0.9404 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.945, allocations: 0.6972 MB / 0.941 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.9581, allocations: 8.91 MB / 0.9497 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/0.9628, allocations: 248.2 kB / 0.95 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/0.9633, allocations: 195.8 kB / 0.9502 GB, free: 176 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 311 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008756/0.9642, allocations: 384.9 kB / 0.9505 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/0.9655, allocations: 0.4939 MB / 0.951 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.9736, allocations: 4.579 MB / 0.9555 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01074/0.9844, allocations: 5.656 MB / 0.961 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.9844, allocations: 0 / 0.961 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/0.9872, allocations: 0.9827 MB / 0.962 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009864/0.9882, allocations: 36 kB / 0.962 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/0.9911, allocations: 147.8 kB / 0.9621 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.9915, allocations: 133.8 kB / 0.9623 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01132/1.003, allocations: 4.795 MB / 0.967 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009358/1.012, allocations: 5.998 MB / 0.9728 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002582/1.015, allocations: 1.87 MB / 0.9746 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006103/1.021, allocations: 3.82 MB / 0.9784 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of Backend: time 7.22e-07/1.021, allocations: 2.625 kB / 0.9784 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0201/1.041, allocations: 6.978 MB / 0.9852 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of SimCode: time 0.02363/1.065, allocations: 12.5 MB / 0.9974 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.4128/1.478, allocations: 125.6 MB / 1.12 GB, free: 276.3 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)