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.004572/0.004572, allocations: 99.31 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.001136/0.001136, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 274.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 95.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5391/0.6921, allocations: 181.8 MB / 0.9434 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00635/0.6985, allocations: 4.445 MB / 0.9478 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.6992, allocations: 23.81 kB / 0.9478 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.7, allocations: 246.1 kB / 0.948 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.7022, allocations: 0.762 MB / 0.9488 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.7057, allocations: 1.512 MB / 0.9502 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.7073, allocations: 1.263 MB / 0.9515 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.708, allocations: 449.3 kB / 0.9519 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.7091, allocations: 0.5799 MB / 0.9525 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.7097, allocations: 406.3 kB / 0.9529 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.7098, allocations: 47.94 kB / 0.9529 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.7124, allocations: 1.551 MB / 0.9544 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.7127, allocations: 179.4 kB / 0.9546 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.7131, allocations: 310.5 kB / 0.9549 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.7153, allocations: 1.313 MB / 0.9562 GB, free: 272 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7154, allocations: 4 kB / 0.9562 GB, free: 268 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7154, allocations: 0 / 0.9562 GB, free: 268 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.7154, allocations: 0 / 0.9562 GB, free: 268 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.001797/0.7172, allocations: 1.021 MB / 0.9572 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.7172, allocations: 12.03 kB / 0.9572 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.7174, allocations: 82.52 kB / 0.9573 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.7194, allocations: 284.4 kB / 0.9575 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.7202, allocations: 469.4 kB / 0.958 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.7202, allocations: 29 kB / 0.958 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.7203, allocations: 51.92 kB / 0.9581 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.7213, allocations: 0.5468 MB / 0.9586 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.7213, allocations: 0 / 0.9586 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.7214, allocations: 16 kB / 0.9586 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.7214, allocations: 15.94 kB / 0.9586 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.7223, allocations: 463.5 kB / 0.9591 GB, free: 13.16 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.002489/0.7248, allocations: 2.12 MB / 0.9611 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.7258, allocations: 400.2 kB / 0.9615 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.7262, allocations: 236.5 kB / 0.9617 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.7269, allocations: 396.3 kB / 0.9621 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.7275, allocations: 291.5 kB / 0.9624 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 3.446e-06/0.7275, allocations: 3.984 kB / 0.9624 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001675/0.7292, allocations: 0.6837 MB / 0.9631 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.7292, allocations: 59.34 kB / 0.9631 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.7298, allocations: 0.4902 MB / 0.9636 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.7299, allocations: 37.7 kB / 0.9636 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.7301, allocations: 260.1 kB / 0.9639 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7302, allocations: 122.2 kB / 0.964 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.7303, allocations: 90.12 kB / 0.9641 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7305, allocations: 362.8 kB / 0.9644 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.7309, allocations: 196.8 kB / 0.9646 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.7315, allocations: 320.1 kB / 0.9649 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.7324, allocations: 0.5474 MB / 0.9655 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7324, allocations: 0 / 0.9655 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001229/0.7337, allocations: 0.6481 MB / 0.9661 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.7337, allocations: 67.33 kB / 0.9662 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7338, allocations: 5.797 kB / 0.9662 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7338, allocations: 4 kB / 0.9662 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.7342, allocations: 99.81 kB / 0.9663 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7342, allocations: 4 kB / 0.9663 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.7347, allocations: 83.64 kB / 0.9663 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.7348, allocations: 20 kB / 0.9664 GB, free: 5.273 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.0002203/0.735, allocations: 194.2 kB / 0.9666 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.7351, allocations: 55.34 kB / 0.9666 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.7362, allocations: 0.5375 MB / 0.9671 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7362, allocations: 7.938 kB / 0.9671 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7363, allocations: 0 / 0.9671 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.7363, allocations: 3.984 kB / 0.9671 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.7384, allocations: 1.35 MB / 0.9685 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7384, allocations: 7.938 kB / 0.9685 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.7388, allocations: 76.31 kB / 0.9685 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.7389, allocations: 12 kB / 0.9686 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.7389, allocations: 8 kB / 0.9686 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.7389, allocations: 11.94 kB / 0.9686 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7389, allocations: 11.92 kB / 0.9686 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.7405, allocations: 0.9288 MB / 0.9695 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.7407, allocations: 176.3 kB / 0.9697 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.7408, allocations: 16.06 kB / 0.9697 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.7412, allocations: 35.95 kB / 0.9697 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7413, allocations: 47.83 kB / 0.9698 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.7414, allocations: 16 kB / 0.9698 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000399/0.7418, allocations: 346.8 kB / 0.9701 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7418, allocations: 0 / 0.9701 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005593/0.7424, allocations: 151.8 kB / 0.9702 GB, free: 1.113 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.002111/0.7445, allocations: 1.565 MB / 0.9718 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.7456, allocations: 0.5888 MB / 0.9723 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7456, allocations: 4 kB / 0.9723 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.7463, allocations: 286.3 kB / 0.9726 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7475, allocations: 290.6 kB / 0.9729 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.7545, allocations: 4.985 MB / 0.9778 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.7549, allocations: 0.8665 MB / 0.9786 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004352/0.7554, allocations: 132.6 kB / 0.9787 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.7556, allocations: 175.4 kB / 0.9789 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.7556, allocations: 4 kB / 0.9789 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.7923, allocations: 16.14 MB / 0.9947 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.829, allocations: 10.5 kB / 0.9947 GB, free: 8.039 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)