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.004924/0.004924, allocations: 97.62 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.001295/0.001295, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 279.2 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9892/0.9892, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002885/0.002885, allocations: 98.5 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.177, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5118/0.6888, allocations: 181.8 MB / 0.9434 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006608/0.6955, allocations: 4.447 MB / 0.9478 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000684/0.6962, allocations: 23.81 kB / 0.9478 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.697, allocations: 250.1 kB / 0.948 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.6989, allocations: 0.7581 MB / 0.9488 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.7025, allocations: 1.511 MB / 0.9503 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.7042, allocations: 1.263 MB / 0.9515 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.7048, allocations: 448.5 kB / 0.9519 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009599/0.7058, allocations: 0.5721 MB / 0.9525 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.7063, allocations: 410.3 kB / 0.9529 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.7064, allocations: 48 kB / 0.9529 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.709, allocations: 1.543 MB / 0.9544 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.7093, allocations: 187.4 kB / 0.9546 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.7096, allocations: 306.5 kB / 0.9549 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.7117, allocations: 1.318 MB / 0.9562 GB, free: 196 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7117, allocations: 4 kB / 0.9562 GB, free: 192 kB / 0.7012 GB Notification: Performance of FrontEnd: time 3.757e-06/0.7117, allocations: 0 / 0.9562 GB, free: 192 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.7118, allocations: 3.938 kB / 0.9562 GB, free: 188 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.001871/0.7136, allocations: 1.04 MB / 0.9572 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7137, allocations: 12.03 kB / 0.9572 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/0.7138, allocations: 78.52 kB / 0.9573 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.7158, allocations: 288 kB / 0.9576 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.7167, allocations: 477.8 kB / 0.958 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.7168, allocations: 33 kB / 0.958 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.7169, allocations: 40 kB / 0.9581 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.7179, allocations: 0.5507 MB / 0.9586 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.718, allocations: 0 / 0.9586 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.718, allocations: 20 kB / 0.9586 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.718, allocations: 15.94 kB / 0.9587 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.7191, allocations: 455.5 kB / 0.9591 GB, free: 13.05 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.002656/0.7217, allocations: 2.124 MB / 0.9612 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.7227, allocations: 403.1 kB / 0.9616 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.7232, allocations: 236.6 kB / 0.9618 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/0.7239, allocations: 404.3 kB / 0.9622 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.7246, allocations: 295.4 kB / 0.9624 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.7246, allocations: 3.938 kB / 0.9624 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001798/0.7264, allocations: 0.6839 MB / 0.9631 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.7264, allocations: 63.41 kB / 0.9632 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.7271, allocations: 498 kB / 0.9637 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.7271, allocations: 33.7 kB / 0.9637 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.7273, allocations: 264.5 kB / 0.9639 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.7275, allocations: 126.9 kB / 0.9641 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.7276, allocations: 94.08 kB / 0.9641 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7278, allocations: 358.8 kB / 0.9645 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.7283, allocations: 200.8 kB / 0.9647 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.7289, allocations: 317.1 kB / 0.965 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.7299, allocations: 0.5493 MB / 0.9655 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7299, allocations: 0 / 0.9655 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.7312, allocations: 0.6484 MB / 0.9662 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.7313, allocations: 67.39 kB / 0.9662 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7313, allocations: 4 kB / 0.9662 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7313, allocations: 4 kB / 0.9662 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.7318, allocations: 99.81 kB / 0.9663 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7318, allocations: 4.25 kB / 0.9663 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.7324, allocations: 81.58 kB / 0.9664 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.7324, allocations: 20 kB / 0.9664 GB, free: 5.152 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.0002451/0.7327, allocations: 198.3 kB / 0.9666 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.7328, allocations: 51.67 kB / 0.9667 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.734, allocations: 0.5343 MB / 0.9672 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.7341, allocations: 4 kB / 0.9672 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7341, allocations: 3.25 kB / 0.9672 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.7341, allocations: 3.984 kB / 0.9672 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.7366, allocations: 1.354 MB / 0.9685 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.7366, allocations: 7.938 kB / 0.9685 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.737, allocations: 80.31 kB / 0.9686 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.737, allocations: 4 kB / 0.9686 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.7371, allocations: 12 kB / 0.9686 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7371, allocations: 4 kB / 0.9686 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.7371, allocations: 7.938 kB / 0.9686 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.7388, allocations: 0.9447 MB / 0.9695 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.7391, allocations: 172.7 kB / 0.9697 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.7392, allocations: 15.98 kB / 0.9697 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.7396, allocations: 31.97 kB / 0.9698 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7398, allocations: 51.88 kB / 0.9698 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.7398, allocations: 16 kB / 0.9698 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004391/0.7403, allocations: 346.8 kB / 0.9702 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7403, allocations: 0 / 0.9702 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007607/0.741, allocations: 167.7 kB / 0.9703 GB, free: 0.9766 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.002385/0.7434, allocations: 1.567 MB / 0.9718 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.7447, allocations: 0.5888 MB / 0.9724 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7447, allocations: 0 / 0.9724 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.7454, allocations: 292.2 kB / 0.9727 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.7468, allocations: 289.3 kB / 0.973 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/0.7545, allocations: 5.004 MB / 0.9779 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.7551, allocations: 0.8665 MB / 0.9787 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005272/0.7556, allocations: 128.7 kB / 0.9788 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.7559, allocations: 179.4 kB / 0.979 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.7559, allocations: 0 / 0.979 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.8008, allocations: 15.87 MB / 0.9945 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.21, allocations: 4.062 kB / 0.9945 GB, free: 8.172 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)