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.0006209/0.0006209, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007536/0.0007536, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8756/0.8756, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001603/0.001603, allocations: 234.6 kB / 259.4 MB, free: 13.02 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.7112/0.7112, allocations: 138.4 MB / 454.3 MB, free: 29.98 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 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.936e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3899/0.3899, allocations: 160.5 MB / 0.803 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.3946, allocations: 4.145 MB / 0.8071 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.3952, allocations: 27.75 kB / 0.8071 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.3958, allocations: 265.9 kB / 0.8074 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3977, allocations: 0.7808 MB / 0.8081 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.4008, allocations: 1.608 MB / 0.8097 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.4022, allocations: 1.273 MB / 0.811 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.4027, allocations: 353.9 kB / 0.8113 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009745/0.4037, allocations: 0.7478 MB / 0.812 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.404, allocations: 370.9 kB / 0.8124 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.4041, allocations: 48 kB / 0.8124 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.406, allocations: 1.285 MB / 0.8137 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.4062, allocations: 207.3 kB / 0.8139 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.4064, allocations: 207.5 kB / 0.8141 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.4083, allocations: 1.328 MB / 0.8154 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4083, allocations: 0 / 0.8154 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4083, allocations: 0.6562 kB / 0.8154 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4083, allocations: 0 / 0.8154 GB, free: 13.75 MB / 0.6511 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.001253/0.4095, allocations: 0.9604 MB / 0.8163 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4096, allocations: 9.938 kB / 0.8163 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.4097, allocations: 78.52 kB / 0.8164 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4107, allocations: 295.2 kB / 0.8167 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.4113, allocations: 402.6 kB / 0.8171 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4113, allocations: 37.66 kB / 0.8171 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.4114, allocations: 43.95 kB / 0.8171 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.4121, allocations: 0.5546 MB / 0.8177 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4121, allocations: 0 / 0.8177 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.4121, allocations: 16 kB / 0.8177 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4121, allocations: 12 kB / 0.8177 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.4127, allocations: 467.3 kB / 0.8181 GB, free: 10.79 MB / 0.6511 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.001625/0.4143, allocations: 1.766 MB / 0.8199 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.4149, allocations: 390.5 kB / 0.8202 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.4152, allocations: 216.7 kB / 0.8205 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.4155, allocations: 88.66 kB / 0.8205 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.4158, allocations: 299.9 kB / 0.8208 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.745e-06/0.4158, allocations: 0 / 0.8208 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001044/0.4169, allocations: 0.6846 MB / 0.8215 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.4169, allocations: 63.16 kB / 0.8216 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.4175, allocations: 0.4941 MB / 0.822 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.4176, allocations: 37.7 kB / 0.8221 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4177, allocations: 264.4 kB / 0.8223 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.4178, allocations: 123 kB / 0.8224 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4179, allocations: 98.06 kB / 0.8225 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.418, allocations: 366.8 kB / 0.8229 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4183, allocations: 252.2 kB / 0.8231 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.4187, allocations: 0.4905 MB / 0.8236 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.4193, allocations: 0.5454 MB / 0.8241 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4193, allocations: 6.125 kB / 0.8241 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007692/0.42, allocations: 0.7143 MB / 0.8248 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.4201, allocations: 67.42 kB / 0.8249 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4201, allocations: 4 kB / 0.8249 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4201, allocations: 4 kB / 0.8249 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.4203, allocations: 99.81 kB / 0.825 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4203, allocations: 4 kB / 0.825 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.4206, allocations: 80.67 kB / 0.8251 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.4206, allocations: 24 kB / 0.8251 GB, free: 3.336 MB / 0.6511 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.0001859/0.4208, allocations: 195.2 kB / 0.8253 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.4209, allocations: 55.61 kB / 0.8253 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.4216, allocations: 0.5317 MB / 0.8259 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4216, allocations: 8 kB / 0.8259 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4216, allocations: 0 / 0.8259 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4216, allocations: 4 kB / 0.8259 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.423, allocations: 1.266 MB / 0.8271 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.423, allocations: 7.125 kB / 0.8271 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4232, allocations: 79.81 kB / 0.8272 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4232, allocations: 4.438 kB / 0.8272 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4232, allocations: 19.94 kB / 0.8272 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4232, allocations: 4 kB / 0.8272 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4232, allocations: 6.625 kB / 0.8272 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4242, allocations: 0.9421 MB / 0.8282 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.4244, allocations: 99.5 kB / 0.8282 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.4245, allocations: 19.92 kB / 0.8283 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4247, allocations: 35.91 kB / 0.8283 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.4248, allocations: 47.92 kB / 0.8283 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.4248, allocations: 15.94 kB / 0.8284 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005426/0.4254, allocations: 350.9 kB / 0.8287 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4254, allocations: 0 / 0.8287 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004762/0.4258, allocations: 151.8 kB / 0.8288 GB, free: 15.35 MB / 0.6667 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.001386/0.4272, allocations: 1.542 MB / 0.8303 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007775/0.428, allocations: 0.6193 MB / 0.831 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.428, allocations: 3.938 kB / 0.831 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.4284, allocations: 272.7 kB / 0.8312 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.4292, allocations: 292.7 kB / 0.8315 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.4345, allocations: 5.199 MB / 0.8366 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.4347, allocations: 266.2 kB / 0.8368 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.4351, allocations: 124.7 kB / 0.8369 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.4353, allocations: 184.4 kB / 0.8371 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of SimCode: time 1.673e-06/0.4353, allocations: 0 / 0.8371 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4655, allocations: 17.74 MB / 0.8544 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.475, allocations: 12.05 kB / 0.8545 GB, free: 5.219 MB / 0.6823 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.082376069389284] Failed to read output from testmodel.py, exit status != 0: 7.565099877305329 7.575863971 7.164776918 Calling exit ...