Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.001442/0.001442, 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.001763/0.001763, allocations: 173 kB / 23.49 MB, free: 1.059 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.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.285 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.001625/0.001625, allocations: 234.6 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.8101/0.8101, allocations: 138.4 MB / 455.4 MB, free: 1.52 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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.031e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3758/0.3758, allocations: 178.5 MB / 0.7294 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.3811, allocations: 4.572 MB / 0.7339 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.3817, allocations: 31.75 kB / 0.7339 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.3823, allocations: 262 kB / 0.7341 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3838, allocations: 0.7769 MB / 0.7349 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.3866, allocations: 1.619 MB / 0.7365 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.3878, allocations: 1.261 MB / 0.7377 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.3882, allocations: 374.1 kB / 0.7381 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.3891, allocations: 0.7595 MB / 0.7388 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.3895, allocations: 362.9 kB / 0.7392 GB, free: 396 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.3895, allocations: 44 kB / 0.7392 GB, free: 352 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.3916, allocations: 1.293 MB / 0.7405 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.3917, allocations: 207.3 kB / 0.7407 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3919, allocations: 207.5 kB / 0.7409 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3935, allocations: 1.16 MB / 0.742 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3936, allocations: 0 / 0.742 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3936, allocations: 4 kB / 0.742 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3936, allocations: 0 / 0.742 GB, free: 13.47 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001174/0.3947, allocations: 1.044 MB / 0.743 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3948, allocations: 12.75 kB / 0.743 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.3961, allocations: 386.4 kB / 0.7434 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.3967, allocations: 434.2 kB / 0.7438 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.3967, allocations: 32.94 kB / 0.7438 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.3968, allocations: 44 kB / 0.7439 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.3973, allocations: 429.5 kB / 0.7443 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3973, allocations: 0 / 0.7443 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.3974, allocations: 16 kB / 0.7443 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3974, allocations: 12 kB / 0.7443 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.3977, allocations: 173.8 kB / 0.7445 GB, free: 10.8 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.001616/0.3993, allocations: 2.043 MB / 0.7465 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.3997, allocations: 167.1 kB / 0.7466 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3998, allocations: 83.59 kB / 0.7467 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.4001, allocations: 84.92 kB / 0.7468 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.4003, allocations: 169.3 kB / 0.747 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.043e-06/0.4003, allocations: 0 / 0.747 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.0009448/0.4013, allocations: 356.6 kB / 0.7473 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.4013, allocations: 59.39 kB / 0.7474 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.4016, allocations: 410.7 kB / 0.7477 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4016, allocations: 33.7 kB / 0.7478 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4018, allocations: 327.1 kB / 0.7481 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.4019, allocations: 126.9 kB / 0.7482 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.402, allocations: 99.8 kB / 0.7483 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4021, allocations: 0.5274 MB / 0.7488 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.4023, allocations: 112.4 kB / 0.7489 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4025, allocations: 392.8 kB / 0.7493 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.4028, allocations: 342.6 kB / 0.7496 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4028, allocations: 4 kB / 0.7496 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004922/0.4033, allocations: 467.5 kB / 0.7501 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.4034, allocations: 67.39 kB / 0.7501 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4034, allocations: 4 kB / 0.7501 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4034, allocations: 7.938 kB / 0.7502 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.4036, allocations: 100.2 kB / 0.7502 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4036, allocations: 8 kB / 0.7503 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4039, allocations: 56.52 kB / 0.7503 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.4039, allocations: 24 kB / 0.7503 GB, free: 4.414 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.000134/0.404, allocations: 180.5 kB / 0.7505 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.4041, allocations: 67.64 kB / 0.7506 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.4045, allocations: 307.6 kB / 0.7509 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4045, allocations: 9.75 kB / 0.7509 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4045, allocations: 4 kB / 0.7509 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4045, allocations: 0 / 0.7509 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.4055, allocations: 0.9272 MB / 0.7518 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4055, allocations: 4 kB / 0.7518 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.4057, allocations: 67.89 kB / 0.7519 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4057, allocations: 4 kB / 0.7519 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.4057, allocations: 12 kB / 0.7519 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.4057, allocations: 11.88 kB / 0.7519 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4057, allocations: 4 kB / 0.7519 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.4063, allocations: 0.598 MB / 0.7525 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4064, allocations: 87.59 kB / 0.7525 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.4065, allocations: 16 kB / 0.7526 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.4067, allocations: 24.86 kB / 0.7526 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.4067, allocations: 51.8 kB / 0.7526 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4068, allocations: 16 kB / 0.7527 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001727/0.4069, allocations: 267.1 kB / 0.7529 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4069, allocations: 0 / 0.7529 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004026/0.4073, allocations: 171.7 kB / 0.7531 GB, free: 1.418 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002784/0.4076, allocations: 184.2 kB / 0.7532 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.4081, allocations: 392 kB / 0.7536 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4081, allocations: 0 / 0.7536 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.4082, allocations: 117 kB / 0.7537 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.4092, allocations: 226.9 kB / 0.7539 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4106, allocations: 0.9784 MB / 0.7549 GB, free: 15.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.4107, allocations: 137.8 kB / 0.755 GB, free: 15.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000241/0.411, allocations: 95.41 kB / 0.7551 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4111, allocations: 44.5 kB / 0.7552 GB, free: 15.14 MB / 0.573 GB Notification: Performance of SimCode: time 1.253e-06/0.4111, allocations: 4 kB / 0.7552 GB, free: 15.13 MB / 0.573 GB Notification: Performance of Templates: time 0.01164/0.4227, allocations: 9.33 MB / 0.7643 GB, free: 6.102 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.500962109072134]