Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 80.81 kB / 21.55 MB, free: 2.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 167.2 kB / 24.97 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9736/0.9736, allocations: 177.1 MB / 205.4 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.948/1.948, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.833e-05, allocations: 4.016 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.01819/0.01822, allocations: 21.92 MB / 0.7973 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.03712, allocations: 11.53 MB / 0.8086 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.04021, allocations: 154.7 kB / 0.8088 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.04403, allocations: 1.628 MB / 0.8103 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.04934, allocations: 2.449 MB / 0.8127 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.05391, allocations: 2.452 MB / 0.8151 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01693/0.07084, allocations: 21.22 MB / 0.8359 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007848/0.07869, allocations: 5.84 MB / 0.8416 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/0.09315, allocations: 8.79 MB / 0.8501 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008901/0.1021, allocations: 5.393 MB / 0.8554 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.1036, allocations: 0.5938 MB / 0.856 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.1071, allocations: 1.307 MB / 0.8573 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.1088, allocations: 2.024 MB / 0.8592 GB, free: 116 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004533/0.1134, allocations: 2.693 MB / 0.8619 GB, free: 13.41 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.1218, allocations: 7.013 MB / 0.8687 GB, free: 6.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1218, allocations: 0 / 0.8687 GB, free: 6.379 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1218, allocations: 0 / 0.8687 GB, free: 6.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001747/0.122, allocations: 0 / 0.8687 GB, free: 6.379 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 * Number of variables: 955 Notification: Performance of Generate backend data structure: time 0.00844/0.1304, allocations: 6.978 MB / 0.8755 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1305, allocations: 12.62 kB / 0.8756 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.1336, allocations: 1.349 MB / 0.8769 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006367/0.14, allocations: 4.52 MB / 0.8813 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1402, allocations: 291.5 kB / 0.8816 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.1406, allocations: 408 kB / 0.8819 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/0.1451, allocations: 4.725 MB / 0.8866 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.1451, allocations: 19.81 kB / 0.8866 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.1454, allocations: 168 kB / 0.8867 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.1455, allocations: 95.98 kB / 0.8868 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.1485, allocations: 1.824 MB / 0.8886 GB, free: 1.344 MB / 0.8386 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.01705/0.1655, allocations: 14.76 MB / 0.903 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1671, allocations: 1.358 MB / 0.9044 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008286/0.1679, allocations: 0.7588 MB / 0.9051 GB, free: 24 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005963/0.1739, allocations: 3.514 MB / 0.9085 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.1756, allocations: 1.826 MB / 0.9103 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002713/0.1783, allocations: 1.348 MB / 0.9116 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=222): time 6.272e-06/0.1783, allocations: 0 / 0.9116 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=222): time 0.02907/0.2073, allocations: 9.937 MB / 0.9213 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2074, allocations: 73.41 kB / 0.9214 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/0.2121, allocations: 4.407 MB / 0.9257 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/0.2125, allocations: 73.7 kB / 0.9258 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.2137, allocations: 1.926 MB / 0.9277 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.2144, allocations: 0.8288 MB / 0.9285 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007908/0.2152, allocations: 0.6862 MB / 0.9291 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2153, allocations: 309.1 kB / 0.9294 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/0.2162, allocations: 0.6471 MB / 0.9301 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.218, allocations: 2.534 MB / 0.9325 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.2203, allocations: 2.597 MB / 0.9351 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.2203, allocations: 12 kB / 0.9351 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.01352/0.2338, allocations: 5.409 MB / 0.9404 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.2339, allocations: 49.69 kB / 0.9404 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.2339, allocations: 32 kB / 0.9405 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02125/0.2552, allocations: 6.958 MB / 0.9472 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.2575, allocations: 0.8854 MB / 0.9481 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.2714, allocations: 7.589 MB / 0.9555 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.2745, allocations: 216 kB / 0.9557 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.2748, allocations: 175.8 kB / 0.9559 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001959/0.2768, allocations: 0.7728 MB / 0.9567 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001833/0.2786, allocations: 2.527 MB / 0.9591 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002187/0.2808, allocations: 2.583 MB / 0.9616 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.337e-05/0.2808, allocations: 15.98 kB / 0.9617 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of matching and sorting (n=413) (initialization_lambda0): time 0.00728/0.2881, allocations: 3.552 MB / 0.9651 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.2881, allocations: 45.7 kB / 0.9652 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.2881, allocations: 36 kB / 0.9652 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02006/0.3082, allocations: 6.599 MB / 0.9716 GB, free: 8.773 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.3103, allocations: 0.8892 MB / 0.9725 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.3262, allocations: 9.889 MB / 0.9822 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.3293, allocations: 220.3 kB / 0.9824 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003673/0.3297, allocations: 167.8 kB / 0.9825 GB, free: 13.35 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (350): * Single equations (assignments): 345 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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,25), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008157/0.3305, allocations: 403.1 kB / 0.9829 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/0.3312, allocations: 395.5 kB / 0.9833 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/0.3399, allocations: 4.35 MB / 0.9876 GB, free: 8.148 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0112/0.3511, allocations: 5.735 MB / 0.9932 GB, free: 2.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3511, allocations: 4 kB / 0.9932 GB, free: 2.113 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.353, allocations: 0.66 MB / 0.9938 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/0.3535, allocations: 55.98 kB / 0.9939 GB, free: 1.391 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.3549, allocations: 147.8 kB / 0.994 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.3553, allocations: 241.5 kB / 0.9942 GB, free: 1.008 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005481/0.3608, allocations: 2.848 MB / 0.997 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003189/0.364, allocations: 2.697 MB / 0.9996 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007405/0.3647, allocations: 0.6662 MB / 1 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002125/0.3669, allocations: 1.972 MB / 1.002 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of Backend: time 5.31e-07/0.3669, allocations: 3.938 kB / 1.002 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007442/0.3743, allocations: 4.674 MB / 1.007 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0178/0.3921, allocations: 13.93 MB / 1.02 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of Templates: time 0.466/0.8581, allocations: 167.2 MB / 1.184 GB, free: 147.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 15.694628635421395]