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.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.001043/0.001043, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001268/0.001268, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9247/0.9247, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5875/0.5875, allocations: 115 MB / 376 MB, free: 7.52 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.096e-05, allocations: 3.5 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.005823/0.005834, allocations: 8.245 MB / 490.2 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.0103, allocations: 4.475 MB / 494.7 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.01067, allocations: 41.94 kB / 494.7 MB, free: 3.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.01109, allocations: 213.4 kB / 494.9 MB, free: 3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.01218, allocations: 0.7484 MB / 495.7 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.01392, allocations: 1.247 MB / 496.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01543, allocations: 1.794 MB / 498.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.01584, allocations: 459.3 kB / 499.2 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.01693, allocations: 0.9233 MB / 0.4884 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.0175, allocations: 449.7 kB / 0.4888 GB, free: 400 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.01758, allocations: 42.22 kB / 0.4888 GB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.01868, allocations: 0.792 MB / 0.4896 GB, free: 196 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01881, allocations: 163.3 kB / 0.4898 GB, free: 96 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.01901, allocations: 235.5 kB / 0.49 GB, free: 4 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.02035, allocations: 1.034 MB / 0.491 GB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.02035, allocations: 0 / 0.491 GB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02036, allocations: 1.094 kB / 0.491 GB, free: 15.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.02036, allocations: 0 / 0.491 GB, free: 15.61 MB / 426.7 MB 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.001285/0.02165, allocations: 1.143 MB / 0.4921 GB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.02168, allocations: 8.562 kB / 0.4921 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.02212, allocations: 201.1 kB / 0.4923 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.0227, allocations: 0.5039 MB / 0.4928 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.02272, allocations: 36.5 kB / 0.4929 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.02278, allocations: 45.78 kB / 0.4929 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.02331, allocations: 0.4905 MB / 0.4934 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.02332, allocations: 1.844 kB / 0.4934 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.02335, allocations: 17.41 kB / 0.4934 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.02337, allocations: 9.25 kB / 0.4934 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.0236, allocations: 177.1 kB / 0.4936 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.02518, allocations: 1.563 MB / 0.4951 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.0255, allocations: 206.6 kB / 0.4953 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.02562, allocations: 115.8 kB / 0.4954 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.0257, allocations: 28.62 kB / 0.4954 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.02596, allocations: 307.2 kB / 0.4957 GB, free: 12.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.02596, allocations: 0 / 0.4957 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008311/0.02679, allocations: 0.5193 MB / 0.4962 GB, free: 12.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.02682, allocations: 85.98 kB / 0.4963 GB, free: 12.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.0272, allocations: 0.5275 MB / 0.4968 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.02724, allocations: 37.7 kB / 0.4969 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.02743, allocations: 361.9 kB / 0.4972 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.02749, allocations: 119.1 kB / 0.4973 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02763, allocations: 108.1 kB / 0.4974 GB, free: 11.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.02778, allocations: 0.5494 MB / 0.498 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.02788, allocations: 101.8 kB / 0.4981 GB, free: 10.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.0282, allocations: 0.5477 MB / 0.4986 GB, free: 9.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.0285, allocations: 460.4 kB / 0.499 GB, free: 9.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02851, allocations: 0 / 0.499 GB, free: 9.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005776/0.02908, allocations: 0.5261 MB / 0.4995 GB, free: 8.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.02911, allocations: 40.53 kB / 0.4996 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02912, allocations: 4.75 kB / 0.4996 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.02938, allocations: 95.8 kB / 0.4997 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02958, allocations: 107.2 kB / 0.4998 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000435/0.03001, allocations: 0.8433 MB / 0.5006 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.03023, allocations: 63.84 kB / 0.5007 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.03026, allocations: 23.8 kB / 0.5007 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001673/0.03043, allocations: 227.2 kB / 0.5009 GB, free: 7.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002482/0.03068, allocations: 0.5313 MB / 0.5014 GB, free: 6.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002953/0.03098, allocations: 456.5 kB / 0.5019 GB, free: 6.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.03098, allocations: 0 / 0.5019 GB, free: 6.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0005089/0.03149, allocations: 0.503 MB / 0.5024 GB, free: 5.625 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.03151, allocations: 40.75 kB / 0.5024 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.03152, allocations: 12.03 kB / 0.5024 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.03162, allocations: 43.61 kB / 0.5024 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.03181, allocations: 102.2 kB / 0.5025 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.03298, allocations: 2.115 MB / 0.5046 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.03319, allocations: 48.33 kB / 0.5047 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.03322, allocations: 21.97 kB / 0.5047 GB, free: 3.207 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (50): * Single equations (assignments): 48 * 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.0001491/0.03337, allocations: 341.6 kB / 0.505 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.03344, allocations: 79.61 kB / 0.5051 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.03392, allocations: 425.6 kB / 0.5055 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.03392, allocations: 8.547 kB / 0.5055 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.03393, allocations: 0.7969 kB / 0.5055 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004072/0.03433, allocations: 0.5866 MB / 0.5061 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.03524, allocations: 0.9054 MB / 0.507 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03525, allocations: 0 / 0.507 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.0354, allocations: 58.44 kB / 0.507 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.0355, allocations: 55.06 kB / 0.5071 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.03552, allocations: 14.72 kB / 0.5071 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002549/0.03578, allocations: 0.8121 MB / 0.5079 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.03578, allocations: 4 kB / 0.5079 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.03634, allocations: 0.6833 MB / 0.5085 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.03647, allocations: 105.9 kB / 0.5086 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.03652, allocations: 11.94 kB / 0.5087 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.0367, allocations: 26.28 kB / 0.5087 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.03674, allocations: 25.78 kB / 0.5087 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.03677, allocations: 20.97 kB / 0.5087 GB, free: 15.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.03698, allocations: 326.9 kB / 0.509 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03698, allocations: 0 / 0.509 GB, free: 14.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006761/0.03765, allocations: 347.1 kB / 0.5094 GB, free: 14.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.03794, allocations: 231.3 kB / 0.5096 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.03868, allocations: 0.8109 MB / 0.5104 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03868, allocations: 5.953 kB / 0.5104 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.03887, allocations: 216.8 kB / 0.5106 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.03973, allocations: 219.4 kB / 0.5108 GB, free: 13.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.04111, allocations: 1.036 MB / 0.5118 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.0412, allocations: 146 kB / 0.5119 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.04148, allocations: 111.1 kB / 0.5121 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.04189, allocations: 287.9 kB / 0.5123 GB, free: 11.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.04189, allocations: 4 kB / 0.5123 GB, free: 11.63 MB / 442.7 MB Notification: Performance of Templates: time 0.01341/0.0553, allocations: 11.69 MB / 0.5237 GB, free: 212 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.613015230279416]