Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 267.6 MB, free: 10.98 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.0008995/0.0008996, allocations: 183 kB / 327.3 MB, free: 2.219 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.496/1.496, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0006922/0.0006922, allocations: 84.48 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 10.34 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2139, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01354/0.2275, allocations: 19.13 MB / 0.9195 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005698/0.2333, allocations: 4.987 MB / 0.9244 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/0.2339, allocations: 23.81 kB / 0.9244 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.2346, allocations: 254.5 kB / 0.9246 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.2361, allocations: 0.7579 MB / 0.9254 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.2379, allocations: 0.7419 MB / 0.9261 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.2393, allocations: 1.932 MB / 0.928 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.2398, allocations: 397 kB / 0.9284 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.2404, allocations: 0.5758 MB / 0.9289 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.2409, allocations: 466 kB / 0.9294 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.241, allocations: 24 kB / 0.9294 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.2423, allocations: 0.959 MB / 0.9303 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.2424, allocations: 115.5 kB / 0.9304 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2425, allocations: 137.4 kB / 0.9306 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.2432, allocations: 0.8266 MB / 0.9314 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2432, allocations: 3.938 kB / 0.9314 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2432, allocations: 0 / 0.9314 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2432, allocations: 0 / 0.9314 GB, free: 32.52 MB / 0.6042 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.001193/0.2444, allocations: 0.9208 MB / 0.9323 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2445, allocations: 8.031 kB / 0.9323 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.2453, allocations: 199 kB / 0.9325 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.2461, allocations: 0.5299 MB / 0.933 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.2465, allocations: 100.9 kB / 0.9331 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.2465, allocations: 43.98 kB / 0.9331 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.2474, allocations: 0.4921 MB / 0.9336 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2474, allocations: 0 / 0.9336 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2474, allocations: 16 kB / 0.9336 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.2475, allocations: 12 kB / 0.9337 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.2484, allocations: 426.6 kB / 0.9341 GB, free: 29.67 MB / 0.6042 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.002269/0.2506, allocations: 2.289 MB / 0.9363 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/0.2516, allocations: 395 kB / 0.9367 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.252, allocations: 243 kB / 0.9369 GB, free: 26.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.2522, allocations: 340.7 kB / 0.9372 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.2528, allocations: 306.2 kB / 0.9375 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2528, allocations: 0 / 0.9375 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001972/0.2548, allocations: 0.8773 MB / 0.9384 GB, free: 24.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2548, allocations: 85.11 kB / 0.9385 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2552, allocations: 494.9 kB / 0.9389 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.2553, allocations: 33.7 kB / 0.939 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2554, allocations: 284.4 kB / 0.9392 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.2555, allocations: 102.5 kB / 0.9393 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.2555, allocations: 12 kB / 0.9393 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.2556, allocations: 358.8 kB / 0.9397 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.256, allocations: 179.9 kB / 0.9399 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.2564, allocations: 277 kB / 0.9401 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.2569, allocations: 225.6 kB / 0.9403 GB, free: 22.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2569, allocations: 3.938 kB / 0.9403 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001197/0.2581, allocations: 0.6316 MB / 0.941 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.2581, allocations: 167.9 kB / 0.9411 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2582, allocations: 4 kB / 0.9411 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.2585, allocations: 64.88 kB / 0.9412 GB, free: 21.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2588, allocations: 87.88 kB / 0.9413 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003229/0.2592, allocations: 0.5952 MB / 0.9418 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.2597, allocations: 79.72 kB / 0.9419 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2597, allocations: 12 kB / 0.9419 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.2597, allocations: 8 kB / 0.9419 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.2608, allocations: 0.5528 MB / 0.9425 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2608, allocations: 12.09 kB / 0.9425 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.261, allocations: 52.78 kB / 0.9425 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.2613, allocations: 83.88 kB / 0.9426 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2624, allocations: 1.623 MB / 0.9442 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.2629, allocations: 75.7 kB / 0.9443 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2629, allocations: 15.98 kB / 0.9443 GB, free: 18.52 MB / 0.6042 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.2631, allocations: 303.1 kB / 0.9446 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.2632, allocations: 55.34 kB / 0.9446 GB, free: 18.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.2644, allocations: 0.6689 MB / 0.9453 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2645, allocations: 11.95 kB / 0.9453 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2645, allocations: 0 / 0.9453 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.2655, allocations: 0.821 MB / 0.9461 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2673, allocations: 1.322 MB / 0.9474 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2673, allocations: 0 / 0.9474 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.2676, allocations: 72.03 kB / 0.9475 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.2678, allocations: 40.83 kB / 0.9475 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.2678, allocations: 15.98 kB / 0.9475 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002331/0.268, allocations: 0.5758 MB / 0.9481 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2681, allocations: 0 / 0.9481 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2696, allocations: 0.9954 MB / 0.9491 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.2698, allocations: 184.3 kB / 0.9492 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.2699, allocations: 15.95 kB / 0.9492 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.2704, allocations: 67.91 kB / 0.9493 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.2705, allocations: 23.91 kB / 0.9493 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.2705, allocations: 15.98 kB / 0.9493 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002877/0.2708, allocations: 342.8 kB / 0.9497 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2708, allocations: 0 / 0.9497 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009146/0.2718, allocations: 335.5 kB / 0.95 GB, free: 12.41 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005208/0.2723, allocations: 295.5 kB / 0.9503 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.2741, allocations: 1.01 MB / 0.9513 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2741, allocations: 3.938 kB / 0.9513 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.2746, allocations: 336.1 kB / 0.9516 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2759, allocations: 244.7 kB / 0.9518 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2777, allocations: 1.363 MB / 0.9531 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2779, allocations: 0.89 MB / 0.954 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.278, allocations: 51.34 kB / 0.9541 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2781, allocations: 4 kB / 0.9541 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of Templates: time 0.01305/0.2911, allocations: 11.33 MB / 0.9651 GB, free: 12.84 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)