Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 110.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 489.1 MB / 0.7678 GB, free: 20 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.89 kB / 1.101 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9759, allocations: 163.8 MB / 1.261 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06589/1.042, allocations: 53.83 MB / 1.314 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02821/1.07, allocations: 17.01 MB / 1.33 GB, free: 108 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/1.074, allocations: 91.5 kB / 1.33 GB, free: 16 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005828/1.079, allocations: 1.925 MB / 1.332 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007088/1.087, allocations: 2.506 MB / 1.335 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006168/1.093, allocations: 2.349 MB / 1.337 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01236/1.105, allocations: 7.271 MB / 1.344 GB, free: 1.957 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003467/1.109, allocations: 1.666 MB / 1.346 GB, free: 260 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005793/1.114, allocations: 2.025 MB / 1.348 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/1.117, allocations: 1.396 MB / 1.349 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007159/1.118, allocations: 176 kB / 1.349 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004888/1.123, allocations: 2.02 MB / 1.351 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/1.124, allocations: 0.6541 MB / 1.352 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/1.126, allocations: 1.212 MB / 1.353 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008166/1.135, allocations: 3.908 MB / 1.357 GB, free: 4.832 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.135, allocations: 0 / 1.357 GB, free: 4.832 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.135, allocations: 0 / 1.357 GB, free: 4.832 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001372/1.135, allocations: 0 / 1.357 GB, free: 4.832 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007517/1.142, allocations: 3.026 MB / 1.36 GB, free: 1.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.142, allocations: 8.031 kB / 1.36 GB, free: 1.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/1.143, allocations: 173 kB / 1.36 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/1.146, allocations: 0.5526 MB / 1.36 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005451/1.151, allocations: 2.736 MB / 1.363 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.151, allocations: 90.22 kB / 1.363 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/1.152, allocations: 116 kB / 1.363 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/1.155, allocations: 1.363 MB / 1.365 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.155, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/1.155, allocations: 48 kB / 1.365 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/1.155, allocations: 28 kB / 1.365 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/1.158, allocations: 1.097 MB / 1.366 GB, free: 11.32 MB / 1.076 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.0114/1.17, allocations: 7.479 MB / 1.373 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/1.173, allocations: 1.365 MB / 1.374 GB, free: 1.781 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.174, allocations: 418.2 kB / 1.375 GB, free: 1.367 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00531/1.179, allocations: 3.04 MB / 1.378 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/1.18, allocations: 438.9 kB / 1.378 GB, free: 13.55 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 2.725e-06/1.18, allocations: 0 / 1.378 GB, free: 13.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.003696/1.184, allocations: 1.276 MB / 1.379 GB, free: 12.24 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/1.184, allocations: 55.97 kB / 1.38 GB, free: 12.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/1.187, allocations: 2.113 MB / 1.382 GB, free: 10.04 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.187, allocations: 45.7 kB / 1.382 GB, free: 9.984 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009861/1.188, allocations: 1.024 MB / 1.383 GB, free: 8.953 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/1.189, allocations: 222.2 kB / 1.383 GB, free: 8.734 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/1.189, allocations: 310.6 kB / 1.383 GB, free: 8.422 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.189, allocations: 301.1 kB / 1.383 GB, free: 8.125 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/1.191, allocations: 0.5609 MB / 1.384 GB, free: 7.559 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/1.192, allocations: 0.9846 MB / 1.385 GB, free: 6.391 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/1.195, allocations: 1.451 MB / 1.386 GB, free: 4.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.195, allocations: 4 kB / 1.386 GB, free: 4.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003926/1.199, allocations: 1.764 MB / 1.388 GB, free: 2.988 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/1.199, allocations: 38.38 kB / 1.388 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.199, allocations: 16 kB / 1.388 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/1.199, allocations: 20 kB / 1.388 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.2, allocations: 299.5 kB / 1.388 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/1.2, allocations: 27.92 kB / 1.388 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.202, allocations: 187 kB / 1.389 GB, free: 2.406 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.202, allocations: 67.97 kB / 1.389 GB, free: 2.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001954/1.204, allocations: 0.9638 MB / 1.39 GB, free: 1.371 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001685/1.206, allocations: 0.9807 MB / 1.391 GB, free: 220 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002742/1.208, allocations: 1.451 MB / 1.392 GB, free: 14.59 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/1.208, allocations: 7.938 kB / 1.392 GB, free: 14.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.003765/1.212, allocations: 1.767 MB / 1.394 GB, free: 12.8 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/1.212, allocations: 37.7 kB / 1.394 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.212, allocations: 15.98 kB / 1.394 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.212, allocations: 20 kB / 1.394 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.213, allocations: 303.6 kB / 1.394 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.836e-05/1.214, allocations: 27.92 kB / 1.394 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.215, allocations: 163.3 kB / 1.394 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.215, allocations: 63.98 kB / 1.394 GB, free: 12.18 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000348/1.216, allocations: 259.1 kB / 1.395 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005034/1.216, allocations: 214.6 kB / 1.395 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.219, allocations: 1.131 MB / 1.396 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.219, allocations: 8 kB / 1.396 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.219, allocations: 0 / 1.396 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/1.221, allocations: 0.9621 MB / 1.397 GB, free: 9.535 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/1.227, allocations: 2.585 MB / 1.399 GB, free: 6.879 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.227, allocations: 0 / 1.399 GB, free: 6.879 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/1.228, allocations: 151.8 kB / 1.4 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/1.228, allocations: 32.83 kB / 1.4 GB, free: 6.695 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/1.228, allocations: 23.98 kB / 1.4 GB, free: 6.672 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/1.23, allocations: 1.496 MB / 1.401 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.23, allocations: 0 / 1.401 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/1.233, allocations: 1.575 MB / 1.403 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/1.234, allocations: 407.3 kB / 1.403 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.235, allocations: 19.94 kB / 1.403 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/1.236, allocations: 71.92 kB / 1.403 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.236, allocations: 52.48 kB / 1.403 GB, free: 2.875 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/1.236, allocations: 27.97 kB / 1.403 GB, free: 2.848 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002322/1.238, allocations: 1.461 MB / 1.405 GB, free: 1.375 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.51e-07/1.238, allocations: 0 / 1.405 GB, free: 1.375 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002712/1.241, allocations: 1.033 MB / 1.406 GB, free: 348 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006531/1.247, allocations: 2.885 MB / 1.408 GB, free: 13.56 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004673/1.252, allocations: 2.091 MB / 1.41 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.252, allocations: 4 kB / 1.41 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.253, allocations: 0.545 MB / 1.411 GB, free: 10.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.258, allocations: 0.9794 MB / 1.412 GB, free: 9.945 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.283, allocations: 14.63 MB / 1.426 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/1.284, allocations: 1.531 MB / 1.428 GB, free: 9.215 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001923/1.286, allocations: 0.5045 MB / 1.428 GB, free: 8.707 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.288, allocations: 0.8702 MB / 1.429 GB, free: 7.836 MB / 1.139 GB Notification: Performance of SimCode: time 5.72e-07/1.288, allocations: 0 / 1.429 GB, free: 7.836 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.398, allocations: 55.86 MB / 1.484 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.21, allocations: 7.922 kB / 1.484 GB, free: 0.625 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.498462287941948] Failed to read output from testmodel.py, exit status != 0: 16.38345939712599 16.406043753 15.267332497 Calling exit ...