Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 115.8 kB / 17.09 MB, free: 6.004 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.001674/0.001674, allocations: 186.8 kB / 18.02 MB, free: 5.086 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.332/1.332, 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.7725/0.7725, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 74.31 kB / 0.5738 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 78.7 MB / 0.6506 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.0217/0.1447, allocations: 20.83 MB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007249/0.152, allocations: 5.396 MB / 0.6762 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.1526, allocations: 23.88 kB / 0.6762 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009241/0.1536, allocations: 345.8 kB / 0.6766 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.156, allocations: 0.9641 MB / 0.6775 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.1585, allocations: 0.9379 MB / 0.6784 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.1608, allocations: 1.747 MB / 0.6801 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008697/0.1617, allocations: 497.2 kB / 0.6806 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.1636, allocations: 0.7249 MB / 0.6813 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.1645, allocations: 493.8 kB / 0.6818 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1646, allocations: 44 kB / 0.6818 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.1667, allocations: 1.131 MB / 0.6829 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.1669, allocations: 143.4 kB / 0.6831 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000453/0.1674, allocations: 318.3 kB / 0.6834 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.1694, allocations: 1.218 MB / 0.6846 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1694, allocations: 7.984 kB / 0.6846 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1694, allocations: 0 / 0.6846 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.1695, allocations: 0 / 0.6846 GB, free: 1.188 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001736/0.1712, allocations: 1.067 MB / 0.6856 GB, free: 64 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1713, allocations: 8.031 kB / 0.6856 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.1722, allocations: 188.4 kB / 0.6858 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1734, allocations: 0.6039 MB / 0.6864 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.1734, allocations: 29 kB / 0.6864 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.1735, allocations: 32 kB / 0.6864 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.1745, allocations: 496 kB / 0.6869 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1745, allocations: 15.88 kB / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.1746, allocations: 16 kB / 0.687 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1746, allocations: 8 kB / 0.687 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.1756, allocations: 406.6 kB / 0.6873 GB, free: 14.22 MB / 0.5294 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.002885/0.1785, allocations: 2.289 MB / 0.6896 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009638/0.1795, allocations: 359 kB / 0.6899 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.18, allocations: 225 kB / 0.6901 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.1802, allocations: 340.6 kB / 0.6905 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.1809, allocations: 299.6 kB / 0.6907 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.103e-06/0.1809, allocations: 0 / 0.6907 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002233/0.1831, allocations: 0.8541 MB / 0.6916 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1832, allocations: 81.11 kB / 0.6917 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.1837, allocations: 495 kB / 0.6921 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.1838, allocations: 37.7 kB / 0.6922 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.184, allocations: 284.7 kB / 0.6924 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.1841, allocations: 107 kB / 0.6925 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1842, allocations: 81.67 kB / 0.6926 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1843, allocations: 358.8 kB / 0.693 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.1848, allocations: 176.5 kB / 0.6931 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.1853, allocations: 261.1 kB / 0.6934 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000931/0.1862, allocations: 473.9 kB / 0.6938 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1863, allocations: 0 / 0.6938 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001448/0.1877, allocations: 0.628 MB / 0.6944 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.1878, allocations: 37.7 kB / 0.6945 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1878, allocations: 0 / 0.6945 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.1881, allocations: 72.69 kB / 0.6945 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.1885, allocations: 83.97 kB / 0.6946 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004382/0.189, allocations: 0.6031 MB / 0.6952 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.1894, allocations: 59.81 kB / 0.6953 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.1895, allocations: 15.98 kB / 0.6953 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005738/0.1901, allocations: 308 kB / 0.6956 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005181/0.1906, allocations: 262.1 kB / 0.6958 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009312/0.1915, allocations: 453 kB / 0.6963 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.1916, allocations: 0 / 0.6963 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00127/0.1928, allocations: 0.593 MB / 0.6968 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.1929, allocations: 41.84 kB / 0.6969 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1929, allocations: 64 / 0.6969 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.193, allocations: 52.83 kB / 0.6969 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.1934, allocations: 79.88 kB / 0.697 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.195, allocations: 1.798 MB / 0.6988 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.1955, allocations: 55.73 kB / 0.6988 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.1955, allocations: 16 kB / 0.6988 GB, free: 1.676 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.1958, allocations: 241.2 kB / 0.6991 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1959, allocations: 55.67 kB / 0.6991 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.1973, allocations: 0.6498 MB / 0.6998 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.1986, allocations: 0.8014 MB / 0.7005 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1986, allocations: 48 / 0.7005 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.1988, allocations: 180.6 kB / 0.7007 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.1989, allocations: 8 kB / 0.7007 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.1994, allocations: 47.89 kB / 0.7008 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.1994, allocations: 27.91 kB / 0.7008 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001559/0.201, allocations: 0.7401 MB / 0.7015 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001731/0.2027, allocations: 0.9835 MB / 0.7025 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004897/0.2033, allocations: 236.3 kB / 0.7027 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003799/0.2036, allocations: 346.8 kB / 0.703 GB, free: 13.21 MB / 0.545 GB Notification: Performance of Backend: time 4.21e-07/0.2037, allocations: 4 kB / 0.703 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002825/0.2065, allocations: 1.171 MB / 0.7042 GB, free: 12 MB / 0.545 GB Notification: Performance of SimCode: time 0.002121/0.2086, allocations: 1.626 MB / 0.7058 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Templates: time 0.02309/0.2317, allocations: 13.86 MB / 0.7193 GB, free: 12.55 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)