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.0007417/0.0007417, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000936/0.001678, 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.0006954/0.0006954, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009201/0.001615, 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 1.01/1.01, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.102, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.002049/0.002049, allocations: 233.3 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.003461, allocations: 475.2 kB / 244.7 MB, free: 14.17 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.7195/0.7195, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07788/0.7973, 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.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.703e-06/1.703e-06, allocations: 0 / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.486e-05, allocations: 2.312 kB / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3545/0.3545, allocations: 147.7 MB / 0.5621 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3572, allocations: 1.798 MB / 0.5638 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.3575, allocations: 27.75 kB / 0.5639 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3579, allocations: 138.8 kB / 0.564 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0009044/0.3588, allocations: 0.5047 MB / 0.5645 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.36, allocations: 0.6641 MB / 0.5651 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.361, allocations: 1.248 MB / 0.5663 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.3614, allocations: 368.5 kB / 0.5667 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007042/0.3621, allocations: 0.6622 MB / 0.5673 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.3625, allocations: 342.9 kB / 0.5677 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.3625, allocations: 44 kB / 0.5677 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.363, allocations: 339.1 kB / 0.568 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3632, allocations: 171.5 kB / 0.5682 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3633, allocations: 171.7 kB / 0.5684 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.3639, allocations: 0.5684 MB / 0.5689 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.921e-05/0.3639, allocations: 0 / 0.5689 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3639, allocations: 0 / 0.5689 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.3639, allocations: 0 / 0.5689 GB, free: 5.777 MB / 0.5417 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.001048/0.365, allocations: 0.988 MB / 0.5699 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.365, allocations: 8.75 kB / 0.5699 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.366, allocations: 460.9 kB / 0.5703 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.3665, allocations: 376.7 kB / 0.5707 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3665, allocations: 29 kB / 0.5707 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.3666, allocations: 47.98 kB / 0.5708 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.367, allocations: 386.7 kB / 0.5711 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.367, allocations: 0 / 0.5711 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.367, allocations: 17.69 kB / 0.5711 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.367, allocations: 12.62 kB / 0.5712 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3672, allocations: 141.6 kB / 0.5713 GB, free: 3.234 MB / 0.5417 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.00123/0.3684, allocations: 1.451 MB / 0.5727 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3687, allocations: 193.3 kB / 0.5729 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.3688, allocations: 64.25 kB / 0.573 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.369, allocations: 51.94 kB / 0.573 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3692, allocations: 164.6 kB / 0.5732 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 3.417e-06/0.3692, allocations: 1.359 kB / 0.5732 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0004355/0.3696, allocations: 240 kB / 0.5734 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3697, allocations: 55.41 kB / 0.5734 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3699, allocations: 347.3 kB / 0.5738 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3699, allocations: 33.7 kB / 0.5738 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.37, allocations: 245.3 kB / 0.574 GB, free: 312 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.3701, allocations: 130.8 kB / 0.5742 GB, free: 180 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.3702, allocations: 90.09 kB / 0.5743 GB, free: 84 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3703, allocations: 366.6 kB / 0.5746 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.3704, allocations: 107.1 kB / 0.5747 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3706, allocations: 336 kB / 0.575 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3708, allocations: 274.5 kB / 0.5753 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3708, allocations: 0 / 0.5753 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003159/0.3711, allocations: 370.2 kB / 0.5756 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.3712, allocations: 60.88 kB / 0.5757 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3712, allocations: 7.938 kB / 0.5757 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3712, allocations: 8 kB / 0.5757 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3714, allocations: 103.9 kB / 0.5758 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3714, allocations: 4 kB / 0.5758 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3716, allocations: 59.69 kB / 0.5759 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3716, allocations: 16 kB / 0.5759 GB, free: 14.21 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.0001182/0.3718, allocations: 148.5 kB / 0.576 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3718, allocations: 39.97 kB / 0.5761 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.3721, allocations: 246.5 kB / 0.5763 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3721, allocations: 4 kB / 0.5763 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3721, allocations: 0.875 kB / 0.5763 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3721, allocations: 0.8906 kB / 0.5763 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.3729, allocations: 0.7215 MB / 0.577 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3729, allocations: 4 kB / 0.577 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3731, allocations: 71.89 kB / 0.5771 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.3731, allocations: 67.53 kB / 0.5772 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3731, allocations: 4 kB / 0.5772 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3732, allocations: 9.125 kB / 0.5772 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.3732, allocations: 11.98 kB / 0.5772 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3732, allocations: 8.312 kB / 0.5772 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.3736, allocations: 0.4989 MB / 0.5777 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.3736, allocations: 12 kB / 0.5777 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3738, allocations: 27.97 kB / 0.5777 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3739, allocations: 52.88 kB / 0.5778 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3739, allocations: 12 kB / 0.5778 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001008/0.374, allocations: 140.7 kB / 0.5779 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.374, allocations: 32 / 0.5779 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003655/0.3744, allocations: 167.7 kB / 0.5781 GB, free: 11.81 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.0002229/0.3746, allocations: 132.2 kB / 0.5782 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3749, allocations: 358.2 kB / 0.5785 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/0.3749, allocations: 19.98 kB / 0.5786 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3751, allocations: 97.38 kB / 0.5786 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.3757, allocations: 259.8 kB / 0.5789 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.3795, allocations: 0.9189 MB / 0.5798 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3796, allocations: 133.8 kB / 0.5799 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.3799, allocations: 74.67 kB / 0.58 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.3802, allocations: 201.2 kB / 0.5802 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/0.3802, allocations: 0 / 0.5802 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of Templates: time 0.01284/0.3931, allocations: 9.785 MB / 0.5897 GB, free: 160 kB / 0.5573 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: 3.883762275800109]