Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 188.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007297/0.0007295, allocations: 89.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8.438 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.05094/0.2085, allocations: 79.99 MB / 0.9748 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02933/0.2379, allocations: 22.77 MB / 0.9971 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.2412, allocations: 95.31 kB / 0.9972 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.2443, allocations: 1.018 MB / 0.9982 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008392/0.2527, allocations: 2.567 MB / 1.001 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008368/0.2611, allocations: 3.237 MB / 1.004 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01779/0.2789, allocations: 20.71 MB / 1.024 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007111/0.286, allocations: 5.971 MB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007838/0.2939, allocations: 4.746 MB / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.3013, allocations: 4.866 MB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.3024, allocations: 260 kB / 1.04 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.307, allocations: 1.623 MB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.3084, allocations: 1.28 MB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004336/0.3128, allocations: 2.88 MB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008704/0.3215, allocations: 8.668 MB / 1.054 GB, free: 2.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3215, allocations: 4 kB / 1.054 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3215, allocations: 0 / 1.054 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001606/0.3217, allocations: 0 / 1.054 GB, free: 2.961 MB / 0.698 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.344/0.6657, allocations: 5.356 MB / 1.059 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6658, allocations: 8.156 kB / 1.059 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.6696, allocations: 0.8446 MB / 1.06 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009299/0.6789, allocations: 5.187 MB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.6792, allocations: 260 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007171/0.6799, allocations: 341.2 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.6903, allocations: 5.763 MB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.067e-05/0.6904, allocations: 12.47 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.6908, allocations: 145.2 kB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-05/0.6909, allocations: 87.17 kB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008315/0.6993, allocations: 5.582 MB / 1.077 GB, free: 145.2 MB / 0.698 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.02598/0.7252, allocations: 24.01 MB / 1.1 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.7291, allocations: 2.795 MB / 1.103 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.7314, allocations: 1.929 MB / 1.105 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009325/0.7407, allocations: 7.135 MB / 1.112 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002407/0.7431, allocations: 1.952 MB / 1.114 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003464/0.7466, allocations: 1.253 MB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=155): time 4.809e-06/0.7466, allocations: 0 / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=155): time 0.0172/0.7638, allocations: 7.672 MB / 1.122 GB, free: 102.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.7639, allocations: 145.8 kB / 1.122 GB, free: 102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/0.769, allocations: 4.887 MB / 1.127 GB, free: 97.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.7694, allocations: 69.7 kB / 1.127 GB, free: 97.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.7711, allocations: 2.437 MB / 1.13 GB, free: 94.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008535/0.7719, allocations: 0.5554 MB / 1.13 GB, free: 94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.7723, allocations: 227.1 kB / 1.13 GB, free: 93.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.7723, allocations: 301.1 kB / 1.131 GB, free: 93.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.7747, allocations: 1.715 MB / 1.132 GB, free: 91.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.7773, allocations: 2.94 MB / 1.135 GB, free: 88.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/0.7821, allocations: 4.648 MB / 1.14 GB, free: 83.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.7822, allocations: 12 kB / 1.14 GB, free: 83.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009117/0.7913, allocations: 6.172 MB / 1.146 GB, free: 76.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.7917, allocations: 1.103 MB / 1.147 GB, free: 75.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.7917, allocations: 32 kB / 1.147 GB, free: 75.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06361/0.8553, allocations: 11.92 MB / 1.159 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.8579, allocations: 0.6669 MB / 1.159 GB, free: 62.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.8641, allocations: 5.053 MB / 1.164 GB, free: 57.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/0.8684, allocations: 343.7 kB / 1.164 GB, free: 57.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.8687, allocations: 163.9 kB / 1.165 GB, free: 57.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.8687, allocations: 4 kB / 1.165 GB, free: 57.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006793/0.8755, allocations: 5.417 MB / 1.17 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.8756, allocations: 36 kB / 1.17 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06155/0.9371, allocations: 11.67 MB / 1.181 GB, free: 40.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.9397, allocations: 0.6513 MB / 1.182 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008847/0.9486, allocations: 8.076 MB / 1.19 GB, free: 31.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.9529, allocations: 337.6 kB / 1.19 GB, free: 30.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/0.9532, allocations: 151.9 kB / 1.19 GB, free: 30.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (287): * Single equations (assignments): 280 * Array equations: 2 * 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,13), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00223/0.9554, allocations: 1.556 MB / 1.192 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000884/0.9563, allocations: 466.2 kB / 1.192 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006575/0.9629, allocations: 4.864 MB / 1.197 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0156/0.9785, allocations: 7.019 MB / 1.204 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9786, allocations: 4 kB / 1.204 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/0.9812, allocations: 0.9874 MB / 1.205 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/0.9825, allocations: 28 kB / 1.205 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/0.986, allocations: 275.2 kB / 1.205 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/0.9864, allocations: 133 kB / 1.205 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009723/0.9961, allocations: 5.409 MB / 1.211 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008095/1.004, allocations: 6.1 MB / 1.217 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002268/1.007, allocations: 1.974 MB / 1.218 GB, free: 1.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005368/1.012, allocations: 3.345 MB / 1.222 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of Backend: time 6.61e-07/1.012, allocations: 8 kB / 1.222 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01731/1.029, allocations: 6.284 MB / 1.228 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of SimCode: time 0.02467/1.054, allocations: 13.25 MB / 1.241 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.1665/1.221, allocations: 113.8 MB / 1.352 GB, free: 9.422 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)