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.0009414/0.0009414, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001001/0.001001, allocations: 165 kB / 23.8 MB, free: 0.7656 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6337/0.6337, allocations: 115 MB / 375.7 MB, free: 7.613 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.402e-06/1.402e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.441e-05, allocations: 5.5 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.007142/0.007166, allocations: 8.332 MB / 489.8 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.01277, allocations: 4.528 MB / 494.4 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.01355, allocations: 42.72 kB / 494.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.01414, allocations: 208.1 kB / 494.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.01596, allocations: 0.7475 MB / 495.4 MB, free: 2.789 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.01861, allocations: 1.252 MB / 496.6 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.02116, allocations: 1.796 MB / 498.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.02193, allocations: 450.9 kB / 498.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.02392, allocations: 0.9272 MB / 499.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.02506, allocations: 449.5 kB / 0.4885 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.02533, allocations: 43.25 kB / 0.4885 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.02717, allocations: 0.7972 MB / 0.4893 GB, free: 416 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.02737, allocations: 158.5 kB / 0.4895 GB, free: 324 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.02778, allocations: 235.1 kB / 0.4897 GB, free: 232 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.03033, allocations: 1.024 MB / 0.4907 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.03034, allocations: 1.375 kB / 0.4907 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03034, allocations: 0 / 0.4907 GB, free: 15.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.03036, allocations: 0.9062 kB / 0.4907 GB, free: 15.84 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.002205/0.03257, allocations: 1.146 MB / 0.4918 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.03261, allocations: 8.5 kB / 0.4918 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/0.03323, allocations: 199.5 kB / 0.492 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.034, allocations: 0.5145 MB / 0.4925 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.03404, allocations: 32.81 kB / 0.4925 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.03411, allocations: 48.12 kB / 0.4926 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.03485, allocations: 0.5125 MB / 0.4931 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.03487, allocations: 2.266 kB / 0.4931 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.0349, allocations: 16.19 kB / 0.4931 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.03494, allocations: 12.12 kB / 0.4931 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.03533, allocations: 200.2 kB / 0.4933 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.03738, allocations: 1.662 MB / 0.4949 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.03784, allocations: 219.3 kB / 0.4951 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.038, allocations: 130 kB / 0.4953 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.03811, allocations: 21.48 kB / 0.4953 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.03845, allocations: 332.4 kB / 0.4956 GB, free: 12.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.03845, allocations: 0 / 0.4956 GB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00106/0.03951, allocations: 0.5466 MB / 0.4961 GB, free: 12.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.03955, allocations: 86.31 kB / 0.4962 GB, free: 12.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.03999, allocations: 0.5358 MB / 0.4967 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.04003, allocations: 39.2 kB / 0.4968 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.04023, allocations: 353.8 kB / 0.4971 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.0403, allocations: 118.5 kB / 0.4972 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.04042, allocations: 107.8 kB / 0.4973 GB, free: 11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.04057, allocations: 0.5387 MB / 0.4979 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.04072, allocations: 117.4 kB / 0.498 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.04103, allocations: 0.5563 MB / 0.4985 GB, free: 9.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.04142, allocations: 489.9 kB / 0.499 GB, free: 9.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.04143, allocations: 4 kB / 0.499 GB, free: 9.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006965/0.04212, allocations: 0.5497 MB / 0.4995 GB, free: 8.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.04217, allocations: 44.98 kB / 0.4996 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.04218, allocations: 4 kB / 0.4996 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.0425, allocations: 102.6 kB / 0.4997 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.04273, allocations: 102.3 kB / 0.4998 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/0.04312, allocations: 0.8452 MB / 0.5006 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.04339, allocations: 64.27 kB / 0.5007 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.04343, allocations: 26.02 kB / 0.5007 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002168/0.04365, allocations: 245 kB / 0.5009 GB, free: 7.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000308/0.04395, allocations: 0.5473 MB / 0.5014 GB, free: 6.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003641/0.04432, allocations: 477.7 kB / 0.5019 GB, free: 5.902 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.04432, allocations: 4.609 kB / 0.5019 GB, free: 5.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0006106/0.04493, allocations: 0.5387 MB / 0.5024 GB, free: 5.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.04496, allocations: 40.56 kB / 0.5025 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.04497, allocations: 4 kB / 0.5025 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.04509, allocations: 55.62 kB / 0.5025 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.0453, allocations: 102.6 kB / 0.5026 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.04641, allocations: 2.132 MB / 0.5047 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.04668, allocations: 55.94 kB / 0.5048 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.04672, allocations: 25.83 kB / 0.5048 GB, free: 2.918 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.0002338/0.04695, allocations: 341.5 kB / 0.5051 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.04704, allocations: 75.52 kB / 0.5052 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.04763, allocations: 459 kB / 0.5056 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.04764, allocations: 0 / 0.5056 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.04764, allocations: 4.656 kB / 0.5056 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004791/0.04812, allocations: 0.6073 MB / 0.5062 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.04932, allocations: 1.02 MB / 0.5072 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.04932, allocations: 0 / 0.5072 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.04949, allocations: 58.11 kB / 0.5073 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.04962, allocations: 55.88 kB / 0.5073 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.04965, allocations: 14.62 kB / 0.5073 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003067/0.04995, allocations: 0.8164 MB / 0.5081 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.04995, allocations: 3.938 kB / 0.5081 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.05067, allocations: 0.7065 MB / 0.5088 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.05084, allocations: 117.9 kB / 0.5089 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.05089, allocations: 8.703 kB / 0.5089 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.05109, allocations: 25.58 kB / 0.509 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.05115, allocations: 21.94 kB / 0.509 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.05119, allocations: 25.17 kB / 0.509 GB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.05146, allocations: 347 kB / 0.5093 GB, free: 14.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05146, allocations: 0 / 0.5093 GB, free: 14.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009633/0.05243, allocations: 342.7 kB / 0.5097 GB, free: 14 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.0003959/0.05282, allocations: 233.5 kB / 0.5099 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.05386, allocations: 0.863 MB / 0.5107 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.05387, allocations: 0 / 0.5107 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.0541, allocations: 236.7 kB / 0.511 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.05477, allocations: 222.7 kB / 0.5112 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.05647, allocations: 1.053 MB / 0.5122 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.05657, allocations: 139.3 kB / 0.5123 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.05691, allocations: 124.3 kB / 0.5125 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.057, allocations: 52.48 kB / 0.5125 GB, free: 11.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.05701, allocations: 0 / 0.5125 GB, free: 11.2 MB / 442.7 MB Notification: Performance of Templates: time 0.01543/0.07244, allocations: 11.62 MB / 0.5239 GB, free: 15.82 MB / 458.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.786621294915676]