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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114 kB / 17.12 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 190.8 kB / 20.07 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 248.5 MB, free: 3.66 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8726/0.8726, allocations: 128.4 MB / 431.7 MB, free: 13.33 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.89 kB / 0.598 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4676, allocations: 83.26 MB / 0.6793 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.09476/0.5624, allocations: 81.58 MB / 0.759 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03823/0.6006, allocations: 21.05 MB / 0.7796 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004688/0.6053, allocations: 111.4 kB / 0.7797 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006848/0.6122, allocations: 1.986 MB / 0.7816 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00989/0.622, allocations: 3.02 MB / 0.7846 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.6299, allocations: 2.492 MB / 0.787 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02811/0.658, allocations: 18.16 MB / 0.8047 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.6702, allocations: 6.203 MB / 0.8108 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.6856, allocations: 6.115 MB / 0.8168 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.697, allocations: 5.32 MB / 0.8219 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003103/0.7001, allocations: 0.5469 MB / 0.8225 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008689/0.7088, allocations: 2.017 MB / 0.8245 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004488/0.7133, allocations: 1.818 MB / 0.8262 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009208/0.7225, allocations: 3.484 MB / 0.8296 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.7404, allocations: 9.705 MB / 0.8391 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-05/0.7404, allocations: 4 kB / 0.8391 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7404, allocations: 0 / 0.8391 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004051/0.7408, allocations: 8 kB / 0.8391 GB, free: 11.08 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.02183/0.7627, allocations: 6.993 MB / 0.8459 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7627, allocations: 8.031 kB / 0.846 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006257/0.769, allocations: 0.9837 MB / 0.8469 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.7855, allocations: 6.451 MB / 0.8532 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004841/0.786, allocations: 258.5 kB / 0.8535 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/0.7886, allocations: 348 kB / 0.8538 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.8077, allocations: 5.765 MB / 0.8594 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.8079, allocations: 7.938 kB / 0.8594 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/0.8095, allocations: 140 kB / 0.8596 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.8096, allocations: 84 kB / 0.8596 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4809/1.29, allocations: 5.621 MB / 0.8651 GB, free: 163.7 MB / 0.67 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.04497/1.335, allocations: 24.72 MB / 0.8893 GB, free: 146.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005412/1.341, allocations: 2.557 MB / 0.8918 GB, free: 145.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/1.344, allocations: 1.714 MB / 0.8934 GB, free: 144.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/1.357, allocations: 7.225 MB / 0.9005 GB, free: 139.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003183/1.361, allocations: 1.955 MB / 0.9024 GB, free: 138 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006072/1.367, allocations: 1.081 MB / 0.9035 GB, free: 137.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=152): time 1.527e-05/1.367, allocations: 0 / 0.9035 GB, free: 137.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=152): time 0.03455/1.401, allocations: 9.203 MB / 0.9124 GB, free: 132.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/1.401, allocations: 72.03 kB / 0.9125 GB, free: 132.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008163/1.409, allocations: 5.571 MB / 0.918 GB, free: 129.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008514/1.41, allocations: 61.7 kB / 0.918 GB, free: 129.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.412, allocations: 2.642 MB / 0.9206 GB, free: 127.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.414, allocations: 0.5691 MB / 0.9212 GB, free: 126.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.415, allocations: 0.7678 MB / 0.9219 GB, free: 126.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/1.415, allocations: 309.1 kB / 0.9222 GB, free: 125.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/1.417, allocations: 1.9 MB / 0.9241 GB, free: 123.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.42, allocations: 3.148 MB / 0.9271 GB, free: 120.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/1.426, allocations: 5.02 MB / 0.932 GB, free: 114.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/1.426, allocations: 12.69 kB / 0.932 GB, free: 114.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01115/1.437, allocations: 6.74 MB / 0.9386 GB, free: 107.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/1.437, allocations: 46.48 kB / 0.9387 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/1.437, allocations: 36 kB / 0.9387 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07167/1.509, allocations: 13.56 MB / 0.9519 GB, free: 94.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.512, allocations: 0.6903 MB / 0.9526 GB, free: 93.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/1.52, allocations: 5.492 MB / 0.958 GB, free: 88.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.526, allocations: 246 kB / 0.9582 GB, free: 87.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/1.527, allocations: 207.8 kB / 0.9584 GB, free: 87.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005189/1.532, allocations: 3.261 MB / 0.9616 GB, free: 84.31 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003717/1.536, allocations: 3.105 MB / 0.9646 GB, free: 80.65 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006032/1.542, allocations: 4.913 MB / 0.9694 GB, free: 75.26 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.75e-05/1.542, allocations: 12 kB / 0.9694 GB, free: 75.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.01106/1.553, allocations: 6.46 MB / 0.9757 GB, free: 68.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/1.553, allocations: 49.7 kB / 0.9758 GB, free: 68.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/1.553, allocations: 35.98 kB / 0.9758 GB, free: 68.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06937/1.622, allocations: 13.31 MB / 0.9888 GB, free: 55.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.625, allocations: 0.6864 MB / 0.9895 GB, free: 54.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.637, allocations: 8.918 MB / 0.9982 GB, free: 45.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/1.642, allocations: 246.3 kB / 0.9984 GB, free: 45.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005929/1.643, allocations: 199.8 kB / 0.9986 GB, free: 45.06 MB / 0.67 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 (314): * Single equations (assignments): 308 * 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.0009198/1.644, allocations: 393.2 kB / 0.999 GB, free: 44.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.645, allocations: 0.5084 MB / 0.9995 GB, free: 44.18 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009477/1.655, allocations: 4.901 MB / 1.004 GB, free: 39.28 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.655, allocations: 19.94 kB / 1.004 GB, free: 39.26 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.655, allocations: 0 / 1.004 GB, free: 39.26 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008191/1.663, allocations: 5.515 MB / 1.01 GB, free: 33.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.689, allocations: 10.73 MB / 1.02 GB, free: 22.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.689, allocations: 4 kB / 1.02 GB, free: 22.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.691, allocations: 371.6 kB / 1.021 GB, free: 22.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06411/1.755, allocations: 11.71 MB / 1.032 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007737/1.756, allocations: 43.97 kB / 1.032 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/1.761, allocations: 3.521 MB / 1.035 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.761, allocations: 8 kB / 1.035 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.785, allocations: 8.547 MB / 1.044 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004227/1.79, allocations: 1.005 MB / 1.045 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/1.791, allocations: 28 kB / 1.045 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004239/1.796, allocations: 150.1 kB / 1.045 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/1.796, allocations: 109.8 kB / 1.045 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/1.796, allocations: 79.92 kB / 1.045 GB, free: 13 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.008213/1.805, allocations: 3.803 MB / 1.049 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.91e-07/1.805, allocations: 0 / 1.049 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01484/1.819, allocations: 2.808 MB / 1.052 GB, free: 6.586 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (pump.vol.dynBal.U,hea.outCon.T,val.actPos.y) * 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 (132): * Single equations (assignments): 123 * 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.002348/1.822, allocations: 0.6878 MB / 1.052 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02213/1.844, allocations: 7.449 MB / 1.06 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.844, allocations: 0 / 1.06 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00621/1.85, allocations: 1.971 MB / 1.061 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01603/1.866, allocations: 2.922 MB / 1.064 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.889, allocations: 10.82 MB / 1.075 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.893, allocations: 3.403 MB / 1.078 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006615/1.9, allocations: 1.808 MB / 1.08 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.901, allocations: 383.3 kB / 1.08 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/1.901, allocations: 0 / 1.08 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.6576/2.559, allocations: 120.3 MB / 1.198 GB, free: 265.3 MB / 0.795 GB " [Timeout remaining time 657] make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.433843614533544]