Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0008015/0.0008015, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001431/0.001431, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9514/0.9514, allocations: 177.1 MB / 203.8 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001661/0.001661, allocations: 245.7 kB / 260.5 MB, free: 12.74 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7678/0.7678, allocations: 138.4 MB / 455.4 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.555 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.009e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3849/0.385, allocations: 191.2 MB / 0.7417 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.3932, allocations: 7.07 MB / 0.7486 GB, free: 7.312 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.3938, allocations: 63.44 kB / 0.7487 GB, free: 7.25 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3951, allocations: 0.6945 MB / 0.7494 GB, free: 6.551 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.3985, allocations: 2.476 MB / 0.7518 GB, free: 4.062 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.4004, allocations: 1.515 MB / 0.7533 GB, free: 2.555 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.4027, allocations: 3.021 MB / 0.7562 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.4034, allocations: 0.7341 MB / 0.7569 GB, free: 14.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.4049, allocations: 1.515 MB / 0.7584 GB, free: 13.29 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.4056, allocations: 0.7403 MB / 0.7591 GB, free: 12.57 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4057, allocations: 100 kB / 0.7592 GB, free: 12.47 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.4076, allocations: 1.714 MB / 0.7609 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.4079, allocations: 398.7 kB / 0.7613 GB, free: 10.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.4082, allocations: 403 kB / 0.7617 GB, free: 9.965 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.4099, allocations: 1.869 MB / 0.7635 GB, free: 8.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4099, allocations: 0 / 0.7635 GB, free: 8.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4099, allocations: 0 / 0.7635 GB, free: 8.09 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.4099, allocations: 0 / 0.7635 GB, free: 8.09 MB / 0.573 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.001966/0.4119, allocations: 1.677 MB / 0.7651 GB, free: 6.367 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4119, allocations: 8.75 kB / 0.7651 GB, free: 6.359 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.4132, allocations: 0.5063 MB / 0.7656 GB, free: 5.852 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.4145, allocations: 0.998 MB / 0.7666 GB, free: 4.824 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.4145, allocations: 57.31 kB / 0.7667 GB, free: 4.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.4146, allocations: 68 kB / 0.7667 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4156, allocations: 0.8638 MB / 0.7676 GB, free: 3.766 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4156, allocations: 3.984 kB / 0.7676 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.4157, allocations: 28 kB / 0.7676 GB, free: 3.734 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.4157, allocations: 29.3 kB / 0.7676 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.4164, allocations: 421.2 kB / 0.768 GB, free: 3.285 MB / 0.573 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.002718/0.4191, allocations: 2.746 MB / 0.7707 GB, free: 492 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.4198, allocations: 345.1 kB / 0.771 GB, free: 132 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.4201, allocations: 176.4 kB / 0.7712 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.4204, allocations: 142.5 kB / 0.7714 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.4209, allocations: 453.4 kB / 0.7718 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.4209, allocations: 0 / 0.7718 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.001106/0.422, allocations: 0.6368 MB / 0.7724 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.4221, allocations: 140.9 kB / 0.7725 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.4228, allocations: 0.7923 MB / 0.7733 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.4228, allocations: 37.7 kB / 0.7734 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.4231, allocations: 0.5032 MB / 0.7738 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4232, allocations: 194.2 kB / 0.774 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.4234, allocations: 155.9 kB / 0.7742 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4235, allocations: 0.5042 MB / 0.7747 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4237, allocations: 127 kB / 0.7748 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4242, allocations: 0.6713 MB / 0.7754 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.4247, allocations: 448.6 kB / 0.7759 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4247, allocations: 4 kB / 0.7759 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007839/0.4254, allocations: 0.5821 MB / 0.7764 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4255, allocations: 46.03 kB / 0.7765 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4255, allocations: 4 kB / 0.7765 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4255, allocations: 8 kB / 0.7765 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.4259, allocations: 152.5 kB / 0.7766 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4259, allocations: 13.08 kB / 0.7767 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.4263, allocations: 139.6 kB / 0.7768 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.4264, allocations: 35.98 kB / 0.7768 GB, free: 9.785 MB / 0.5886 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.000215/0.4266, allocations: 235 kB / 0.7771 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4267, allocations: 119.3 kB / 0.7772 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.4275, allocations: 0.5704 MB / 0.7777 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4275, allocations: 11.98 kB / 0.7777 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4275, allocations: 4.5 kB / 0.7777 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4275, allocations: 4 kB / 0.7777 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.4295, allocations: 2.048 MB / 0.7797 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4295, allocations: 8 kB / 0.7797 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4298, allocations: 111.7 kB / 0.7799 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.4298, allocations: 12 kB / 0.7799 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.4298, allocations: 27.92 kB / 0.7799 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.4298, allocations: 15.94 kB / 0.7799 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.4299, allocations: 11.94 kB / 0.7799 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.4308, allocations: 1.088 MB / 0.781 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4311, allocations: 223 kB / 0.7812 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-05/0.4312, allocations: 27.92 kB / 0.7812 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4316, allocations: 67.95 kB / 0.7813 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.4316, allocations: 59.73 kB / 0.7813 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.4317, allocations: 39.97 kB / 0.7814 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004007/0.4321, allocations: 498.9 kB / 0.7819 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.4321, allocations: 0 / 0.7819 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000676/0.4328, allocations: 323.4 kB / 0.7822 GB, free: 3.953 MB / 0.5886 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.0004843/0.4332, allocations: 343.9 kB / 0.7825 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.4339, allocations: 499.6 kB / 0.783 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4339, allocations: 8.125 kB / 0.783 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.4342, allocations: 295.2 kB / 0.7833 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4353, allocations: 433.1 kB / 0.7837 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4374, allocations: 1.818 MB / 0.7854 GB, free: 416 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4376, allocations: 224.4 kB / 0.7857 GB, free: 168 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004655/0.438, allocations: 218.1 kB / 0.7859 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4382, allocations: 72.47 kB / 0.7859 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.4382, allocations: 0 / 0.7859 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.01865/0.4568, allocations: 18.13 MB / 0.8036 GB, free: 14.15 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.509936254005879]