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.001475/0.001475, allocations: 75.3 kB / 19 MB, free: 2.871 MB / 14.72 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.001752/0.001752, allocations: 164.2 kB / 22.26 MB, free: 5.141 MB / 14.72 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 1.433/1.433, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] 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.002431/0.002431, allocations: 229.8 kB / 259.3 MB, free: 0.6016 MB / 238.1 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 1.058/1.058, allocations: 138.5 MB / 454.2 MB, free: 2.035 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003074/0.003074, allocations: 104.3 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3893, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.224/0.6133, allocations: 171.7 MB / 0.9074 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.6246, allocations: 6.571 MB / 0.9138 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.6259, allocations: 59.44 kB / 0.9139 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.6277, allocations: 0.6947 MB / 0.9146 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.6336, allocations: 2.412 MB / 0.9169 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.6371, allocations: 1.46 MB / 0.9183 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.6417, allocations: 3.025 MB / 0.9213 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.6431, allocations: 0.6855 MB / 0.922 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.6463, allocations: 1.552 MB / 0.9235 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.6478, allocations: 0.8187 MB / 0.9243 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.648, allocations: 96 kB / 0.9244 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.6514, allocations: 1.687 MB / 0.926 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/0.6519, allocations: 386.6 kB / 0.9264 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.6524, allocations: 481.7 kB / 0.9268 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.6559, allocations: 2.336 MB / 0.9291 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6559, allocations: 3.938 kB / 0.9291 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6559, allocations: 0 / 0.9291 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.656, allocations: 0 / 0.9291 GB, free: 12.56 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.003543/0.6595, allocations: 1.59 MB / 0.9307 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6595, allocations: 12.75 kB / 0.9307 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.6626, allocations: 0.5416 MB / 0.9312 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.6649, allocations: 0.9702 MB / 0.9322 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.665, allocations: 53.31 kB / 0.9322 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.6651, allocations: 72 kB / 0.9323 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.6677, allocations: 1.238 MB / 0.9335 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.6677, allocations: 3.938 kB / 0.9335 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/0.6678, allocations: 24 kB / 0.9335 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.6678, allocations: 33.3 kB / 0.9336 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.671, allocations: 1.197 MB / 0.9347 GB, free: 6.691 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.005684/0.6767, allocations: 2.707 MB / 0.9374 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.6785, allocations: 0.6826 MB / 0.938 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008567/0.6793, allocations: 429 kB / 0.9384 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/0.6798, allocations: 128.4 kB / 0.9386 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.681, allocations: 0.6437 MB / 0.9392 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=57): time 2.225e-06/0.681, allocations: 0 / 0.9392 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57): time 0.003145/0.6841, allocations: 1.265 MB / 0.9404 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.6842, allocations: 140.9 kB / 0.9406 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3158/1, allocations: 0.8842 MB / 0.9414 GB, free: 200.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1, allocations: 39.23 kB / 0.9415 GB, free: 200.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/1, allocations: 460 kB / 0.9419 GB, free: 200.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.001, allocations: 202.7 kB / 0.9421 GB, free: 200.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.001, allocations: 144.7 kB / 0.9422 GB, free: 200.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/1.001, allocations: 333.5 kB / 0.9426 GB, free: 200.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.002, allocations: 472.7 kB / 0.943 GB, free: 200.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/1.004, allocations: 0.9807 MB / 0.944 GB, free: 199.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/1.006, allocations: 0.9331 MB / 0.9449 GB, free: 199.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.006, allocations: 0.9375 kB / 0.9449 GB, free: 199.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003075/1.009, allocations: 1.211 MB / 0.9461 GB, free: 198.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.009, allocations: 44.17 kB / 0.9461 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.009, allocations: 3.969 kB / 0.9461 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.009, allocations: 5.375 kB / 0.9461 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/1.01, allocations: 194.2 kB / 0.9463 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/1.01, allocations: 11.23 kB / 0.9463 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.011, allocations: 218.2 kB / 0.9465 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.011, allocations: 35.19 kB / 0.9465 GB, free: 198.6 MB / 0.7637 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.0005208/1.012, allocations: 328.1 kB / 0.9469 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/1.012, allocations: 96.02 kB / 0.9469 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/1.014, allocations: 1.014 MB / 0.9479 GB, free: 197.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.014, allocations: 15.66 kB / 0.948 GB, free: 197.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.014, allocations: 2.75 kB / 0.948 GB, free: 197.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.014, allocations: 3.719 kB / 0.948 GB, free: 197.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/1.02, allocations: 2.932 MB / 0.9508 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.02, allocations: 9.312 kB / 0.9508 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.02, allocations: 122.6 kB / 0.9509 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/1.02, allocations: 10.58 kB / 0.951 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.02, allocations: 25.39 kB / 0.951 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/1.02, allocations: 11.58 kB / 0.951 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/1.02, allocations: 16.67 kB / 0.951 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.023, allocations: 1.357 MB / 0.9523 GB, free: 195.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/1.023, allocations: 236.8 kB / 0.9526 GB, free: 195.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.023, allocations: 21.67 kB / 0.9526 GB, free: 195.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.024, allocations: 100.4 kB / 0.9527 GB, free: 195.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.024, allocations: 66.08 kB / 0.9527 GB, free: 195.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/1.024, allocations: 42.64 kB / 0.9528 GB, free: 195.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001009/1.025, allocations: 0.6339 MB / 0.9534 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.025, allocations: 3.969 kB / 0.9534 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001005/1.026, allocations: 328.8 kB / 0.9537 GB, free: 195 MB / 0.7637 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.0004751/1.027, allocations: 327.2 kB / 0.954 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002052/1.029, allocations: 1.033 MB / 0.955 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.029, allocations: 3.719 kB / 0.955 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/1.03, allocations: 0.5076 MB / 0.9555 GB, free: 194.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.031, allocations: 387.4 kB / 0.9559 GB, free: 194.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/1.034, allocations: 2.047 MB / 0.9579 GB, free: 192.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/1.034, allocations: 486.9 kB / 0.9584 GB, free: 191.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007327/1.035, allocations: 242.2 kB / 0.9586 GB, free: 191.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.035, allocations: 68.47 kB / 0.9587 GB, free: 191.5 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/1.035, allocations: 0 / 0.9587 GB, free: 191.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.02317/1.059, allocations: 17.95 MB / 0.9762 GB, free: 174 MB / 0.7637 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: 6.976342424750328] Failed to read output from testmodel.py, exit status != 0: 1.066729936748743 1.075841224 0.417572738 Calling exit ...