Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.001162/0.001162, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001152/0.001152, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 175.7 MB / 480.1 MB, free: 2.801 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 73.12 kB / 0.6678 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 94.53 MB / 0.7601 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5001/0.6582, allocations: 182.7 MB / 0.9385 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006228/0.6644, allocations: 4.493 MB / 0.9429 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006057/0.665, allocations: 20.72 kB / 0.9429 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.6658, allocations: 252.1 kB / 0.9432 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.6677, allocations: 0.7864 MB / 0.9439 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.6711, allocations: 1.565 MB / 0.9455 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.6725, allocations: 1.248 MB / 0.9467 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.6731, allocations: 360.1 kB / 0.947 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.6746, allocations: 0.817 MB / 0.9478 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.6752, allocations: 422.1 kB / 0.9482 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.6753, allocations: 45.69 kB / 0.9483 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.6777, allocations: 1.627 MB / 0.9499 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.6779, allocations: 187.5 kB / 0.95 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.6782, allocations: 307.8 kB / 0.9503 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.6801, allocations: 1.318 MB / 0.9516 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.6801, allocations: 0 / 0.9516 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6801, allocations: 0 / 0.9516 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6801, allocations: 0 / 0.9516 GB, free: 4.445 MB / 0.6856 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.001757/0.6819, allocations: 1.044 MB / 0.9526 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.6819, allocations: 10.19 kB / 0.9526 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.682, allocations: 78.25 kB / 0.9527 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.6838, allocations: 289.8 kB / 0.953 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.6845, allocations: 475.3 kB / 0.9534 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.6846, allocations: 38.36 kB / 0.9535 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.6847, allocations: 40.06 kB / 0.9535 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.6856, allocations: 0.548 MB / 0.9541 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6856, allocations: 3.938 kB / 0.9541 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.6856, allocations: 16.59 kB / 0.9541 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.6857, allocations: 9.938 kB / 0.9541 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.6866, allocations: 461.4 kB / 0.9545 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.689, allocations: 2.119 MB / 0.9566 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.69, allocations: 395.9 kB / 0.957 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.6905, allocations: 221.2 kB / 0.9572 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.6911, allocations: 396.3 kB / 0.9576 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.6917, allocations: 294.9 kB / 0.9578 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.6917, allocations: 0 / 0.9578 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37): time 0.001763/0.6935, allocations: 0.6902 MB / 0.9585 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.6936, allocations: 59.39 kB / 0.9586 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.6941, allocations: 490.1 kB / 0.959 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.6942, allocations: 33.7 kB / 0.9591 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.6944, allocations: 268.5 kB / 0.9593 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.6945, allocations: 126.9 kB / 0.9594 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.6947, allocations: 98.06 kB / 0.9595 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6948, allocations: 362.7 kB / 0.9599 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.6953, allocations: 196.8 kB / 0.9601 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.6959, allocations: 316.1 kB / 0.9604 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6969, allocations: 0.5497 MB / 0.9609 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6969, allocations: 0 / 0.9609 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00127/0.6982, allocations: 0.6527 MB / 0.9616 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.6982, allocations: 63.41 kB / 0.9616 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6982, allocations: 4 kB / 0.9616 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6982, allocations: 4 kB / 0.9616 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.6987, allocations: 99.81 kB / 0.9617 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.6987, allocations: 7.984 kB / 0.9617 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.6992, allocations: 85.89 kB / 0.9618 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.6992, allocations: 28.03 kB / 0.9618 GB, free: 10.73 MB / 0.7012 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.0002179/0.6995, allocations: 189.7 kB / 0.962 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.6995, allocations: 55.67 kB / 0.9621 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.7007, allocations: 0.5333 MB / 0.9626 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7007, allocations: 4 kB / 0.9626 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7007, allocations: 3.938 kB / 0.9626 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7007, allocations: 0 / 0.9626 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.7029, allocations: 1.356 MB / 0.9639 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7029, allocations: 4 kB / 0.9639 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.7033, allocations: 75.88 kB / 0.964 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.7034, allocations: 4 kB / 0.964 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.7034, allocations: 12 kB / 0.964 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7034, allocations: 4.438 kB / 0.964 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7034, allocations: 11.94 kB / 0.964 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.7051, allocations: 0.9408 MB / 0.9649 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.7053, allocations: 172.7 kB / 0.9651 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.7054, allocations: 11.98 kB / 0.9651 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.7058, allocations: 36.03 kB / 0.9652 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.706, allocations: 59.67 kB / 0.9652 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.706, allocations: 17.19 kB / 0.9652 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004341/0.7064, allocations: 338.8 kB / 0.9656 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7064, allocations: 4 kB / 0.9656 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005722/0.707, allocations: 155.8 kB / 0.9657 GB, free: 6.57 MB / 0.7012 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.002381/0.7094, allocations: 1.581 MB / 0.9672 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.7105, allocations: 0.5607 MB / 0.9678 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7105, allocations: 0 / 0.9678 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.7112, allocations: 283.7 kB / 0.9681 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.7124, allocations: 284.6 kB / 0.9683 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.7197, allocations: 5.008 MB / 0.9732 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.7201, allocations: 0.8704 MB / 0.9741 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004175/0.7206, allocations: 124.7 kB / 0.9742 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.7208, allocations: 183.3 kB / 0.9744 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7208, allocations: 3.938 kB / 0.9744 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.763, allocations: 15.97 MB / 0.99 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.797, allocations: 4.062 kB / 0.99 GB, free: 13.61 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.212223969996558]