Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 197.3 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.77 kB / 0.9329 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 49.62 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2842, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1867/0.471, allocations: 191.6 MB / 1.405 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.4829, allocations: 6.997 MB / 1.412 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.4849, allocations: 43.69 kB / 1.412 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.4871, allocations: 0.5632 MB / 1.413 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.007132/0.4942, allocations: 2.175 MB / 1.415 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.4984, allocations: 1.292 MB / 1.416 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.5035, allocations: 3.758 MB / 1.42 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.5051, allocations: 0.7782 MB / 1.42 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.5073, allocations: 0.992 MB / 1.421 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.5093, allocations: 0.8014 MB / 1.422 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.5094, allocations: 48 kB / 1.422 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.5138, allocations: 2.229 MB / 1.424 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.5143, allocations: 322.9 kB / 1.425 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.5151, allocations: 0.5361 MB / 1.425 GB, free: 412 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.6876/1.203, allocations: 2.409 MB / 1.428 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.203, allocations: 0 / 1.428 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.795e-06/1.203, allocations: 0.75 kB / 1.428 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.801e-05/1.203, allocations: 1.75 kB / 1.428 GB, free: 9.34 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004592/1.207, allocations: 1.635 MB / 1.429 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.208, allocations: 13.73 kB / 1.429 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.211, allocations: 0.5423 MB / 1.43 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/1.213, allocations: 0.9825 MB / 1.431 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/1.215, allocations: 280.6 kB / 1.431 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.215, allocations: 65.55 kB / 1.431 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/1.218, allocations: 1.129 MB / 1.432 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/1.218, allocations: 1.75 kB / 1.432 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/1.218, allocations: 32.39 kB / 1.432 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/1.218, allocations: 33.42 kB / 1.432 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/1.221, allocations: 1.196 MB / 1.433 GB, free: 7.965 MB / 0.9167 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.007058/1.228, allocations: 3.199 MB / 1.437 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.23, allocations: 0.6924 MB / 1.437 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/1.231, allocations: 419.5 kB / 1.438 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/1.232, allocations: 1.025 MB / 1.439 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.233, allocations: 0.5126 MB / 1.439 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/1.233, allocations: 0 / 1.439 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.003218/1.236, allocations: 1.228 MB / 1.44 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/1.236, allocations: 140.5 kB / 1.44 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/1.238, allocations: 1.197 MB / 1.442 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/1.239, allocations: 38.58 kB / 1.442 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/1.239, allocations: 449.8 kB / 1.442 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.239, allocations: 186.8 kB / 1.442 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/1.239, allocations: 144.9 kB / 1.442 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003247/1.24, allocations: 337.9 kB / 1.443 GB, free: 20.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/1.241, allocations: 456.5 kB / 1.443 GB, free: 20.63 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.243, allocations: 0.6154 MB / 1.444 GB, free: 20.47 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/1.245, allocations: 0.9486 MB / 1.445 GB, free: 20.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.245, allocations: 2.766 kB / 1.445 GB, free: 20.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003663/1.249, allocations: 1.235 MB / 1.446 GB, free: 20.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/1.249, allocations: 36.31 kB / 1.446 GB, free: 20.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.249, allocations: 7.656 kB / 1.446 GB, free: 20.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.249, allocations: 5 kB / 1.446 GB, free: 20.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/1.25, allocations: 203.2 kB / 1.446 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.25, allocations: 5.469 kB / 1.446 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.252, allocations: 269.6 kB / 1.446 GB, free: 20.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.252, allocations: 37.08 kB / 1.446 GB, free: 20 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006756/1.252, allocations: 335.8 kB / 1.447 GB, free: 19.85 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/1.253, allocations: 117.9 kB / 1.447 GB, free: 19.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/1.255, allocations: 0.9964 MB / 1.448 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.255, allocations: 9.297 kB / 1.448 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.255, allocations: 1.094 kB / 1.448 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/1.255, allocations: 4.219 kB / 1.448 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/1.26, allocations: 3.152 MB / 1.451 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.26, allocations: 7.062 kB / 1.451 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.261, allocations: 126.6 kB / 1.451 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.261, allocations: 13.91 kB / 1.451 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/1.261, allocations: 28.05 kB / 1.451 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/1.261, allocations: 15.92 kB / 1.451 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/1.261, allocations: 14.88 kB / 1.451 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/1.265, allocations: 2.564 MB / 1.454 GB, free: 17.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/1.265, allocations: 335 kB / 1.454 GB, free: 17.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.265, allocations: 21.09 kB / 1.454 GB, free: 17.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.267, allocations: 112.9 kB / 1.454 GB, free: 17.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.267, allocations: 59.44 kB / 1.454 GB, free: 17.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/1.267, allocations: 45.45 kB / 1.454 GB, free: 17.51 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001639/1.268, allocations: 0.8674 MB / 1.455 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/1.268, allocations: 0 / 1.455 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001366/1.27, allocations: 302.3 kB / 1.455 GB, free: 17.37 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008177/1.271, allocations: 345.7 kB / 1.456 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002411/1.273, allocations: 1.022 MB / 1.457 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.273, allocations: 3.188 kB / 1.457 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/1.274, allocations: 0.5089 MB / 1.457 GB, free: 17.09 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/1.277, allocations: 0.5378 MB / 1.458 GB, free: 17.06 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/1.28, allocations: 2.743 MB / 1.46 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/1.281, allocations: 1.085 MB / 1.461 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001188/1.282, allocations: 269.2 kB / 1.462 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/1.282, allocations: 84.06 kB / 1.462 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/1.282, allocations: 0 / 1.462 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.03433/1.317, allocations: 21.77 MB / 1.483 GB, free: 13.03 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)