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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 119 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00226/0.00226, allocations: 284.1 kB / 303.6 MB, free: 3.734 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 180.9 MB / 0.5268 GB, free: 2.738 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002703/0.002703, allocations: 95.84 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4544, allocations: 94.15 MB / 0.8179 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2119/0.6664, allocations: 194.7 MB / 1.008 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.6774, allocations: 6.942 MB / 1.015 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.6789, allocations: 47.69 kB / 1.015 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.6808, allocations: 0.7142 MB / 1.016 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.6866, allocations: 2.443 MB / 1.018 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.6901, allocations: 1.441 MB / 1.019 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.6945, allocations: 2.982 MB / 1.022 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6957, allocations: 0.7473 MB / 1.023 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.6984, allocations: 1.163 MB / 1.024 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.6999, allocations: 0.854 MB / 1.025 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.7, allocations: 100 kB / 1.025 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.7041, allocations: 2.163 MB / 1.027 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.7046, allocations: 382.6 kB / 1.028 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.7053, allocations: 0.5792 MB / 1.028 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.7091, allocations: 2.41 MB / 1.03 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7091, allocations: 0 / 1.03 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7091, allocations: 0 / 1.03 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.7091, allocations: 4 kB / 1.03 GB, free: 6.809 MB / 0.7637 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.003643/0.7127, allocations: 1.666 MB / 1.032 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7128, allocations: 8.031 kB / 1.032 GB, free: 5.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.7158, allocations: 0.5416 MB / 1.033 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.7181, allocations: 1.05 MB / 1.034 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.7182, allocations: 57.31 kB / 1.034 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.7183, allocations: 64 kB / 1.034 GB, free: 3.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.7208, allocations: 1.105 MB / 1.035 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7209, allocations: 3.938 kB / 1.035 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.721, allocations: 28 kB / 1.035 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.721, allocations: 37.23 kB / 1.035 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.7241, allocations: 1.161 MB / 1.036 GB, free: 0.957 MB / 0.7637 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.006031/0.7302, allocations: 3.171 MB / 1.039 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.7319, allocations: 0.6529 MB / 1.04 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.7327, allocations: 392.4 kB / 1.04 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.7338, allocations: 1.025 MB / 1.041 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.7349, allocations: 0.5143 MB / 1.042 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/0.7349, allocations: 0 / 1.042 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57): time 0.003115/0.738, allocations: 1.229 MB / 1.043 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.7381, allocations: 140.8 kB / 1.043 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.74, allocations: 1.18 MB / 1.044 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/0.7401, allocations: 37.7 kB / 1.044 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.7405, allocations: 441.8 kB / 1.045 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.7407, allocations: 206.3 kB / 1.045 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.741, allocations: 150.1 kB / 1.045 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7411, allocations: 322 kB / 1.045 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7424, allocations: 444.8 kB / 1.046 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.7438, allocations: 0.5977 MB / 1.046 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.746, allocations: 0.9305 MB / 1.047 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.746, allocations: 0 / 1.047 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003207/0.7492, allocations: 1.202 MB / 1.048 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.7493, allocations: 43.89 kB / 1.048 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7493, allocations: 0 / 1.048 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.7493, allocations: 11.94 kB / 1.048 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.7502, allocations: 192 kB / 1.049 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.7502, allocations: 11.92 kB / 1.049 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7517, allocations: 239.2 kB / 1.049 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.7517, allocations: 39.97 kB / 1.049 GB, free: 3.305 MB / 0.7794 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.0005199/0.7523, allocations: 323.3 kB / 1.049 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7524, allocations: 123.2 kB / 1.049 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.7546, allocations: 0.9948 MB / 1.05 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.7546, allocations: 11.98 kB / 1.05 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.7546, allocations: 3.938 kB / 1.05 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.7546, allocations: 0 / 1.05 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.7594, allocations: 3.166 MB / 1.053 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7594, allocations: 8 kB / 1.053 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.76, allocations: 120 kB / 1.053 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.76, allocations: 12 kB / 1.053 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.7601, allocations: 27.98 kB / 1.053 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.7601, allocations: 11.94 kB / 1.054 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.7601, allocations: 11.94 kB / 1.054 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.7623, allocations: 1.35 MB / 1.055 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.7628, allocations: 332 kB / 1.055 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7629, allocations: 27.98 kB / 1.055 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.764, allocations: 99.91 kB / 1.055 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7641, allocations: 67.55 kB / 1.055 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.7642, allocations: 43.98 kB / 1.055 GB, free: 12.28 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001557/0.7657, allocations: 0.8443 MB / 1.056 GB, free: 11.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7657, allocations: 3.938 kB / 1.056 GB, free: 11.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001015/0.7667, allocations: 303.6 kB / 1.056 GB, free: 11.12 MB / 0.795 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.0007919/0.7675, allocations: 351 kB / 1.057 GB, free: 10.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.77, allocations: 0.9743 MB / 1.058 GB, free: 9.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.77, allocations: 4 kB / 1.058 GB, free: 9.801 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.771, allocations: 472.9 kB / 1.058 GB, free: 9.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7736, allocations: 0.5468 MB / 1.059 GB, free: 8.793 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.7776, allocations: 2.11 MB / 1.061 GB, free: 6.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/0.7784, allocations: 1.065 MB / 1.062 GB, free: 5.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.7788, allocations: 91.41 kB / 1.062 GB, free: 5.363 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/0.7788, allocations: 0 / 1.062 GB, free: 5.363 MB / 0.795 GB Notification: Performance of Templates: time 0.02806/0.8069, allocations: 18.89 MB / 1.08 GB, free: 2.605 MB / 0.8106 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.333559307968244] Failed to read output from testmodel.py, exit status != 0: 0.8147506369277835 0.8262799949999999 0.11453942600000001 Calling exit ...