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.000698/0.000698, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008917/0.00159, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006966/0.0006966, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001593, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9404/0.9404, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08989/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001824/0.001824, allocations: 244.4 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.003343, allocations: 463.6 kB / 244.7 MB, free: 14.18 MB / 250.7 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.7279/0.7279, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07665/0.8046, allocations: 42.4 MB / 426.5 MB, free: 5.941 MB / 410.7 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.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.383e-06/1.383e-06, allocations: 0 / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.236e-05, allocations: 2.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3368/0.3369, allocations: 153.3 MB / 0.5675 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007064/0.3439, allocations: 4.951 MB / 0.5723 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006888/0.3446, allocations: 71.38 kB / 0.5724 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.3453, allocations: 424.8 kB / 0.5728 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.347, allocations: 1.267 MB / 0.574 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.3489, allocations: 1.466 MB / 0.5754 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.3512, allocations: 2.946 MB / 0.5783 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.3523, allocations: 0.8104 MB / 0.5791 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.3538, allocations: 1.658 MB / 0.5807 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.3543, allocations: 0.6521 MB / 0.5814 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.95e-05/0.3544, allocations: 96 kB / 0.5815 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.3552, allocations: 0.7406 MB / 0.5822 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3555, allocations: 331 kB / 0.5825 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.3557, allocations: 323.3 kB / 0.5828 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3568, allocations: 1.227 MB / 0.584 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.3568, allocations: 0 / 0.584 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3568, allocations: 0 / 0.584 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.3568, allocations: 0 / 0.584 GB, free: 6.48 MB / 0.5573 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.001772/0.3586, allocations: 1.777 MB / 0.5857 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.3586, allocations: 12.75 kB / 0.5857 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/0.3596, allocations: 483.9 kB / 0.5862 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.3604, allocations: 0.7044 MB / 0.5869 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.3604, allocations: 49.69 kB / 0.5869 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.3605, allocations: 75.92 kB / 0.587 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.3613, allocations: 0.7962 MB / 0.5878 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3613, allocations: 0 / 0.5878 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.3614, allocations: 28 kB / 0.5878 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.3614, allocations: 33.3 kB / 0.5878 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.3618, allocations: 317.5 kB / 0.5882 GB, free: 2.074 MB / 0.5573 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.002186/0.364, allocations: 1.942 MB / 0.59 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.3645, allocations: 346.5 kB / 0.5904 GB, free: 15.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3646, allocations: 147.7 kB / 0.5905 GB, free: 15.58 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3647, allocations: 44.47 kB / 0.5906 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.365, allocations: 422 kB / 0.591 GB, free: 15.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 1.493e-06/0.365, allocations: 0 / 0.591 GB, free: 15.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.0006365/0.3657, allocations: 0.4958 MB / 0.5914 GB, free: 14.55 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3657, allocations: 140.5 kB / 0.5916 GB, free: 14.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.3664, allocations: 0.6911 MB / 0.5923 GB, free: 13.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.3665, allocations: 37.7 kB / 0.5923 GB, free: 13.64 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3666, allocations: 350.4 kB / 0.5926 GB, free: 13.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.3667, allocations: 198.2 kB / 0.5928 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3669, allocations: 134.1 kB / 0.5929 GB, free: 12.96 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.3669, allocations: 329.9 kB / 0.5933 GB, free: 12.63 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3671, allocations: 105.8 kB / 0.5934 GB, free: 12.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.3674, allocations: 0.5297 MB / 0.5939 GB, free: 11.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.3677, allocations: 388.3 kB / 0.5942 GB, free: 11.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3677, allocations: 0 / 0.5942 GB, free: 11.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004425/0.3681, allocations: 418.6 kB / 0.5946 GB, free: 11.01 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.3682, allocations: 41.69 kB / 0.5947 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3682, allocations: 4 kB / 0.5947 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3682, allocations: 8 kB / 0.5947 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.3686, allocations: 184.1 kB / 0.5949 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3686, allocations: 8.484 kB / 0.5949 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.369, allocations: 143.6 kB / 0.595 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.369, allocations: 24.48 kB / 0.595 GB, free: 10.6 MB / 0.573 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.0001745/0.3692, allocations: 185.9 kB / 0.5952 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.3693, allocations: 79.92 kB / 0.5953 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.3697, allocations: 467.9 kB / 0.5957 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3698, allocations: 8 kB / 0.5957 GB, free: 9.848 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3698, allocations: 0 / 0.5957 GB, free: 9.848 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3698, allocations: 11.92 kB / 0.5958 GB, free: 9.836 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3712, allocations: 1.654 MB / 0.5974 GB, free: 8.016 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3712, allocations: 11.94 kB / 0.5974 GB, free: 8.004 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3715, allocations: 132.6 kB / 0.5975 GB, free: 7.875 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3717, allocations: 163.1 kB / 0.5977 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3717, allocations: 12 kB / 0.5977 GB, free: 7.703 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3717, allocations: 23.98 kB / 0.5977 GB, free: 7.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.3717, allocations: 14.28 kB / 0.5977 GB, free: 7.668 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3717, allocations: 13.02 kB / 0.5977 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3726, allocations: 0.9253 MB / 0.5986 GB, free: 6.578 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.3726, allocations: 27.98 kB / 0.5987 GB, free: 6.551 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.373, allocations: 65.52 kB / 0.5987 GB, free: 6.488 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.373, allocations: 59.8 kB / 0.5988 GB, free: 6.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.3731, allocations: 35.91 kB / 0.5988 GB, free: 6.395 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002219/0.3733, allocations: 320.5 kB / 0.5991 GB, free: 6.086 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 0.5991 GB, free: 6.086 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000499/0.3738, allocations: 303.4 kB / 0.5994 GB, free: 5.789 MB / 0.573 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.0002689/0.3741, allocations: 208.8 kB / 0.5996 GB, free: 5.578 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.3745, allocations: 438 kB / 0.6 GB, free: 5.125 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.3746, allocations: 15.98 kB / 0.6 GB, free: 5.109 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3748, allocations: 272.2 kB / 0.6003 GB, free: 4.824 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.3758, allocations: 0.4907 MB / 0.6008 GB, free: 4.383 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.3815, allocations: 1.866 MB / 0.6026 GB, free: 2.367 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3817, allocations: 220.4 kB / 0.6028 GB, free: 2.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.382, allocations: 151.5 kB / 0.603 GB, free: 1.988 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/0.3827, allocations: 346.9 kB / 0.6033 GB, free: 1.648 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/0.3827, allocations: 0 / 0.6033 GB, free: 1.648 MB / 0.573 GB Notification: Performance of Templates: time 0.01956/0.4022, allocations: 18.8 MB / 0.6216 GB, free: 15.34 MB / 0.6042 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: 3.9117059195414186]