Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008347, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009481/0.0009481, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.367/1.367, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003699, allocations: 8.188 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4125, allocations: 77.52 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2173/0.6299, allocations: 189.1 MB / 0.7453 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4075/1.037, allocations: 6.911 MB / 0.752 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/1.04, allocations: 36.03 kB / 0.752 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/1.043, allocations: 0.562 MB / 0.7526 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/1.053, allocations: 2.183 MB / 0.7547 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/1.059, allocations: 1.284 MB / 0.756 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008735/1.068, allocations: 3.738 MB / 0.7596 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/1.07, allocations: 0.7785 MB / 0.7604 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/1.074, allocations: 0.952 MB / 0.7613 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/1.077, allocations: 0.7913 MB / 0.7621 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003546/1.078, allocations: 40.06 kB / 0.7621 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007354/1.085, allocations: 2.23 MB / 0.7643 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008473/1.086, allocations: 308.3 kB / 0.7646 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/1.087, allocations: 0.544 MB / 0.7651 GB, free: 18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/1.091, allocations: 1.739 MB / 0.7668 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.091, allocations: 0.8438 kB / 0.7668 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.917e-06/1.091, allocations: 0 / 0.7668 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.425e-05/1.091, allocations: 1.75 kB / 0.7668 GB, free: 17.88 MB / 0.5919 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.005347/1.097, allocations: 1.388 MB / 0.7682 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.097, allocations: 17.25 kB / 0.7682 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/1.103, allocations: 0.5909 MB / 0.7688 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/1.107, allocations: 1.007 MB / 0.7698 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001958/1.109, allocations: 311.2 kB / 0.7701 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/1.109, allocations: 67.91 kB / 0.7701 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/1.113, allocations: 1.156 MB / 0.7713 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.113, allocations: 4.328 kB / 0.7713 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.113, allocations: 22.25 kB / 0.7713 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/1.113, allocations: 33.56 kB / 0.7713 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005471/1.119, allocations: 1.254 MB / 0.7725 GB, free: 16.41 MB / 0.5919 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.009896/1.129, allocations: 3.249 MB / 0.7757 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/1.132, allocations: 0.7095 MB / 0.7764 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.133, allocations: 429.5 kB / 0.7768 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.135, allocations: 1.026 MB / 0.7778 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/1.137, allocations: 0.5219 MB / 0.7783 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 4.549e-06/1.137, allocations: 0 / 0.7783 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.005332/1.142, allocations: 1.249 MB / 0.7795 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.142, allocations: 138 kB / 0.7797 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/1.145, allocations: 1.218 MB / 0.7809 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/1.145, allocations: 38.2 kB / 0.7809 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/1.146, allocations: 447.1 kB / 0.7813 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.146, allocations: 186 kB / 0.7815 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.146, allocations: 49.03 kB / 0.7816 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.147, allocations: 334.3 kB / 0.7819 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/1.149, allocations: 483.8 kB / 0.7823 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/1.152, allocations: 0.6387 MB / 0.783 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/1.156, allocations: 0.9838 MB / 0.7839 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.156, allocations: 4.656 kB / 0.7839 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00595/1.162, allocations: 1.292 MB / 0.7852 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/1.162, allocations: 37 kB / 0.7852 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.162, allocations: 2.969 kB / 0.7852 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.162, allocations: 6.469 kB / 0.7852 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.163, allocations: 216.9 kB / 0.7854 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/1.163, allocations: 6.125 kB / 0.7854 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.167, allocations: 308.8 kB / 0.7857 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.167, allocations: 37.33 kB / 0.7858 GB, free: 12.42 MB / 0.5919 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.0008735/1.168, allocations: 330.3 kB / 0.7861 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/1.168, allocations: 117.3 kB / 0.7862 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/1.172, allocations: 1.012 MB / 0.7872 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.172, allocations: 6.578 kB / 0.7872 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.172, allocations: 1.859 kB / 0.7872 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.172, allocations: 2.719 kB / 0.7872 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008002/1.18, allocations: 3.185 MB / 0.7903 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.18, allocations: 8.906 kB / 0.7903 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.181, allocations: 125.7 kB / 0.7904 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/1.181, allocations: 12.25 kB / 0.7904 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/1.181, allocations: 25.48 kB / 0.7905 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/1.181, allocations: 12.31 kB / 0.7905 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.181, allocations: 10.91 kB / 0.7905 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/1.185, allocations: 1.348 MB / 0.7918 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000958/1.186, allocations: 337.9 kB / 0.7921 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.186, allocations: 24.25 kB / 0.7922 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/1.188, allocations: 125.3 kB / 0.7923 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.188, allocations: 60.08 kB / 0.7923 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.188, allocations: 36.45 kB / 0.7924 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002564/1.191, allocations: 0.8916 MB / 0.7932 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/1.191, allocations: 0 / 0.7932 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001834/1.193, allocations: 300.5 kB / 0.7935 GB, free: 10.39 MB / 0.5919 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.0009567/1.194, allocations: 345 kB / 0.7939 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00372/1.197, allocations: 1.061 MB / 0.7949 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.197, allocations: 0 / 0.7949 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.199, allocations: 0.5238 MB / 0.7954 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/1.204, allocations: 0.5382 MB / 0.7959 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/1.208, allocations: 2.415 MB / 0.7983 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/1.208, allocations: 1.066 MB / 0.7993 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/1.209, allocations: 94.56 kB / 0.7994 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/1.209, allocations: 0 / 0.7994 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of Templates: time 0.0269/1.236, allocations: 18.57 MB / 0.8176 GB, free: 14.8 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)