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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005528/0.005528, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 196.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 278.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 99.62 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1624, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5134/0.6758, allocations: 181.8 MB / 0.9434 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.6817, allocations: 4.453 MB / 0.9478 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.6823, allocations: 19.88 kB / 0.9478 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.683, allocations: 246.1 kB / 0.948 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.6849, allocations: 0.7619 MB / 0.9488 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.6881, allocations: 1.511 MB / 0.9502 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.6895, allocations: 1.263 MB / 0.9515 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000566/0.6901, allocations: 445.3 kB / 0.9519 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/0.6909, allocations: 0.572 MB / 0.9525 GB, free: 4 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.6914, allocations: 402.4 kB / 0.9528 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.6914, allocations: 44 kB / 0.9529 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.6938, allocations: 1.551 MB / 0.9544 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.694, allocations: 187.4 kB / 0.9546 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.6943, allocations: 306.5 kB / 0.9549 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6958, allocations: 1.309 MB / 0.9562 GB, free: 216 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6958, allocations: 4 kB / 0.9562 GB, free: 212 kB / 0.7012 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6958, allocations: 0 / 0.9562 GB, free: 212 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.6959, allocations: 3.938 kB / 0.9562 GB, free: 208 kB / 0.7012 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.00166/0.6975, allocations: 1.017 MB / 0.9572 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6976, allocations: 8.031 kB / 0.9572 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.327e-05/0.6977, allocations: 86.52 kB / 0.9572 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.6995, allocations: 286.9 kB / 0.9575 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.7003, allocations: 473.4 kB / 0.958 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.7003, allocations: 29 kB / 0.958 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.7004, allocations: 47.98 kB / 0.958 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/0.7014, allocations: 0.5468 MB / 0.9586 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7014, allocations: 0 / 0.9586 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.7014, allocations: 16 kB / 0.9586 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.7014, allocations: 15.94 kB / 0.9586 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.7024, allocations: 459.5 kB / 0.959 GB, free: 13.1 MB / 0.7169 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.002317/0.7048, allocations: 2.112 MB / 0.9611 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.7057, allocations: 403 kB / 0.9615 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.7062, allocations: 238.2 kB / 0.9617 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.7068, allocations: 400.3 kB / 0.9621 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/0.7074, allocations: 295.4 kB / 0.9624 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.7074, allocations: 3.938 kB / 0.9624 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001648/0.709, allocations: 0.6837 MB / 0.9631 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.7091, allocations: 59.34 kB / 0.9631 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.7096, allocations: 0.4902 MB / 0.9636 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.7097, allocations: 37.7 kB / 0.9636 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.7098, allocations: 256.1 kB / 0.9639 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7099, allocations: 122.2 kB / 0.964 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.7101, allocations: 94.11 kB / 0.9641 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7102, allocations: 362.8 kB / 0.9644 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.7107, allocations: 196.8 kB / 0.9646 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.7113, allocations: 324 kB / 0.9649 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.7123, allocations: 0.5493 MB / 0.9655 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7123, allocations: 0 / 0.9655 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001249/0.7135, allocations: 0.6481 MB / 0.9661 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.7136, allocations: 59.41 kB / 0.9661 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7136, allocations: 7.984 kB / 0.9662 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.7136, allocations: 4 kB / 0.9662 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.7141, allocations: 99.81 kB / 0.9663 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7141, allocations: 4 kB / 0.9663 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.7146, allocations: 83.64 kB / 0.9663 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.7147, allocations: 20 kB / 0.9664 GB, free: 5.211 MB / 0.7169 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.0002232/0.7149, allocations: 190.3 kB / 0.9665 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.715, allocations: 59.28 kB / 0.9666 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.7162, allocations: 0.5368 MB / 0.9671 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.7162, allocations: 4 kB / 0.9671 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7162, allocations: 0 / 0.9671 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7162, allocations: 3.984 kB / 0.9671 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.7184, allocations: 1.346 MB / 0.9684 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.7185, allocations: 7.938 kB / 0.9684 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.7189, allocations: 75.88 kB / 0.9685 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7189, allocations: 8.438 kB / 0.9685 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.7189, allocations: 12 kB / 0.9685 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.7189, allocations: 11.94 kB / 0.9686 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.719, allocations: 5.875 kB / 0.9686 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.7206, allocations: 0.9366 MB / 0.9695 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.7208, allocations: 172.3 kB / 0.9696 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.7209, allocations: 16.05 kB / 0.9697 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.7213, allocations: 35.97 kB / 0.9697 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.7215, allocations: 51.81 kB / 0.9697 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.7215, allocations: 16 kB / 0.9697 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003768/0.7219, allocations: 346.8 kB / 0.9701 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7219, allocations: 0 / 0.9701 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005557/0.7224, allocations: 151.8 kB / 0.9702 GB, free: 1.059 MB / 0.7169 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.002187/0.7246, allocations: 1.57 MB / 0.9718 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.7258, allocations: 0.5855 MB / 0.9723 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7258, allocations: 4 kB / 0.9723 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.7264, allocations: 290.4 kB / 0.9726 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7277, allocations: 292.7 kB / 0.9729 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/0.7343, allocations: 4.989 MB / 0.9778 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.7347, allocations: 0.8665 MB / 0.9786 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004419/0.7352, allocations: 132.6 kB / 0.9787 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.7354, allocations: 171.4 kB / 0.9789 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7354, allocations: 4 kB / 0.9789 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.7721, allocations: 15.74 MB / 0.9943 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.096, allocations: 4.062 kB / 0.9943 GB, free: 8.387 MB / 0.7481 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)