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.001239/0.001239, allocations: 115.6 kB / 17.08 MB, free: 6.016 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.001207/0.001207, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.213/1.213, allocations: 222.9 MB / 241.7 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.6543/0.6543, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 65.72 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07212/0.2037, allocations: 80.97 MB / 0.7118 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02782/0.2316, allocations: 21.05 MB / 0.7323 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003994/0.2356, allocations: 107.4 kB / 0.7324 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0058/0.2414, allocations: 1.955 MB / 0.7343 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.2497, allocations: 2.94 MB / 0.7372 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.2562, allocations: 2.498 MB / 0.7397 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3481/0.6043, allocations: 18.42 MB / 0.7576 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.6143, allocations: 7.237 MB / 0.7647 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01213/0.6265, allocations: 5.963 MB / 0.7705 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008568/0.6351, allocations: 5.122 MB / 0.7755 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.6372, allocations: 0.549 MB / 0.7761 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006744/0.644, allocations: 1.972 MB / 0.778 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.6465, allocations: 1.763 MB / 0.7797 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006847/0.6533, allocations: 3.482 MB / 0.7831 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.6655, allocations: 9.683 MB / 0.7926 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6655, allocations: 0 / 0.7926 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6655, allocations: 0 / 0.7926 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002704/0.6658, allocations: 0 / 0.7926 GB, free: 12.77 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.01375/0.6795, allocations: 6.909 MB / 0.7993 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6796, allocations: 6.812 kB / 0.7993 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.6836, allocations: 0.9548 MB / 0.8003 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.6946, allocations: 6.418 MB / 0.8065 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.6948, allocations: 259.5 kB / 0.8068 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009891/0.6958, allocations: 344 kB / 0.8071 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008294/0.7041, allocations: 5.732 MB / 0.8127 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.056e-05/0.7042, allocations: 17.61 kB / 0.8127 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.7046, allocations: 147.3 kB / 0.8129 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/0.7047, allocations: 118 kB / 0.813 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008826/0.7136, allocations: 5.564 MB / 0.8184 GB, free: 9.18 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.03411/0.7477, allocations: 24.08 MB / 0.8419 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.7526, allocations: 2.754 MB / 0.8446 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.7554, allocations: 1.902 MB / 0.8465 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.7681, allocations: 7.181 MB / 0.8535 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003153/0.7713, allocations: 1.921 MB / 0.8554 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003512/0.7748, allocations: 0.7119 MB / 0.856 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=154): time 8.516e-06/0.7749, allocations: 0 / 0.856 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154): time 0.02447/0.7993, allocations: 8.026 MB / 0.8639 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7994, allocations: 68.72 kB / 0.864 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/0.8108, allocations: 5.598 MB / 0.8694 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000663/0.8115, allocations: 65.7 kB / 0.8695 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/0.8143, allocations: 2.602 MB / 0.872 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.8153, allocations: 0.5481 MB / 0.8726 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.8165, allocations: 0.7713 MB / 0.8733 GB, free: 140 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8166, allocations: 305.1 kB / 0.8736 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/0.8195, allocations: 1.9 MB / 0.8755 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/0.8233, allocations: 3.155 MB / 0.8785 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/0.83, allocations: 5.029 MB / 0.8835 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.83, allocations: 8 kB / 0.8835 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01181/0.8419, allocations: 6.808 MB / 0.8901 GB, free: 14.24 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.842, allocations: 45.7 kB / 0.8902 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/0.842, allocations: 32 kB / 0.8902 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07162/0.9137, allocations: 13.54 MB / 0.9034 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.9167, allocations: 0.7044 MB / 0.9041 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009879/0.9266, allocations: 5.484 MB / 0.9094 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.9314, allocations: 239 kB / 0.9097 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000497/0.932, allocations: 199.8 kB / 0.9099 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005523/0.9375, allocations: 3.273 MB / 0.9131 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003552/0.9411, allocations: 3.105 MB / 0.9161 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00618/0.9472, allocations: 4.934 MB / 0.9209 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.052e-05/0.9473, allocations: 12 kB / 0.9209 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01085/0.9581, allocations: 6.515 MB / 0.9273 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.9582, allocations: 49.7 kB / 0.9273 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.9583, allocations: 35.94 kB / 0.9274 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07208/1.03, allocations: 13.3 MB / 0.9404 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/1.033, allocations: 0.7008 MB / 0.941 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.046, allocations: 8.895 MB / 0.9497 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004828/1.051, allocations: 252.3 kB / 0.95 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/1.052, allocations: 203.8 kB / 0.9502 GB, free: 15.95 MB / 0.7325 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.0009262/1.053, allocations: 385.7 kB / 0.9505 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.054, allocations: 497.7 kB / 0.951 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/1.062, allocations: 4.578 MB / 0.9555 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.062, allocations: 16 kB / 0.9555 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.063, allocations: 3.938 kB / 0.9555 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01011/1.073, allocations: 5.657 MB / 0.961 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/1.101, allocations: 10.93 MB / 0.9717 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.101, allocations: 0 / 0.9717 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.103, allocations: 379.5 kB / 0.9721 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06285/1.166, allocations: 11.69 MB / 0.9835 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000543/1.166, allocations: 55.95 kB / 0.9835 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006134/1.173, allocations: 3.556 MB / 0.987 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.173, allocations: 4 kB / 0.987 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/1.194, allocations: 8.113 MB / 0.9949 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/1.197, allocations: 0.9828 MB / 0.9959 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/1.198, allocations: 32 kB / 0.9959 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/1.202, allocations: 143.8 kB / 0.9961 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004756/1.203, allocations: 109.8 kB / 0.9962 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003724/1.203, allocations: 83.92 kB / 0.9962 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007369/1.21, allocations: 3.828 MB / 1 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.01e-07/1.21, allocations: 0 / 1 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009837/1.22, allocations: 2.796 MB / 1.003 GB, free: 9.988 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001874/1.222, allocations: 0.6571 MB / 1.003 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.241, allocations: 7.946 MB / 1.011 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.241, allocations: 4 kB / 1.011 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005644/1.247, allocations: 2.306 MB / 1.013 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/1.261, allocations: 2.92 MB / 1.016 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/1.283, allocations: 10.86 MB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003983/1.287, allocations: 3.392 MB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.289, allocations: 409.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of SimCode: time 1.011e-06/1.289, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.4621/1.751, allocations: 174.9 MB / 1.201 GB, free: 183.5 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)