Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_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.001133/0.001133, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 196.6 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002362, allocations: 73.47 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2285, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6484/0.877, allocations: 181.8 MB / 0.9612 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006002/0.883, allocations: 4.449 MB / 0.9655 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.8839, allocations: 19.56 kB / 0.9655 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007601/0.8847, allocations: 243.7 kB / 0.9658 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.8869, allocations: 0.7632 MB / 0.9665 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.8911, allocations: 1.511 MB / 0.968 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.8932, allocations: 1.267 MB / 0.9692 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.8939, allocations: 443.7 kB / 0.9696 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.8952, allocations: 0.5731 MB / 0.9702 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.8957, allocations: 413.6 kB / 0.9706 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.8958, allocations: 45.56 kB / 0.9706 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.8995, allocations: 1.541 MB / 0.9721 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.8998, allocations: 186.7 kB / 0.9723 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.9002, allocations: 306.1 kB / 0.9726 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.9031, allocations: 1.31 MB / 0.9739 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9031, allocations: 1.094 kB / 0.9739 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9031, allocations: 0 / 0.9739 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9031, allocations: 0 / 0.9739 GB, free: 14.98 MB / 0.7325 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.002414/0.9056, allocations: 1.024 MB / 0.9749 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.9056, allocations: 9.625 kB / 0.9749 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.9057, allocations: 79.73 kB / 0.975 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.9078, allocations: 286.1 kB / 0.9753 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/0.9087, allocations: 478.9 kB / 0.9757 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.9088, allocations: 32.59 kB / 0.9757 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.9088, allocations: 42.88 kB / 0.9758 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.9099, allocations: 0.5454 MB / 0.9763 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9099, allocations: 0 / 0.9763 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.91, allocations: 18.62 kB / 0.9763 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.91, allocations: 17.44 kB / 0.9763 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.911, allocations: 460.7 kB / 0.9768 GB, free: 13.79 MB / 0.7325 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.002772/0.9138, allocations: 2.109 MB / 0.9788 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.9148, allocations: 409.8 kB / 0.9792 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.9153, allocations: 233.5 kB / 0.9795 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.916, allocations: 391.2 kB / 0.9798 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.9167, allocations: 297.4 kB / 0.9801 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.9167, allocations: 0 / 0.9801 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001841/0.9185, allocations: 0.6846 MB / 0.9808 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.9187, allocations: 60.61 kB / 0.9808 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.9192, allocations: 0.4891 MB / 0.9813 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.9193, allocations: 32.67 kB / 0.9814 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.9195, allocations: 267.1 kB / 0.9816 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.9196, allocations: 120.7 kB / 0.9817 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.9198, allocations: 96.08 kB / 0.9818 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9199, allocations: 360.6 kB / 0.9822 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.9204, allocations: 196.4 kB / 0.9823 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.9209, allocations: 314.3 kB / 0.9826 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.9219, allocations: 0.5494 MB / 0.9832 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.922, allocations: 3.219 kB / 0.9832 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001421/0.9234, allocations: 0.6509 MB / 0.9838 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.9235, allocations: 65.12 kB / 0.9839 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9235, allocations: 3.5 kB / 0.9839 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9235, allocations: 5.125 kB / 0.9839 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.9239, allocations: 94.25 kB / 0.984 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.924, allocations: 12.95 kB / 0.984 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.9245, allocations: 77.61 kB / 0.9841 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.9246, allocations: 25.66 kB / 0.9841 GB, free: 8.68 MB / 0.7325 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.0002717/0.9249, allocations: 194.3 kB / 0.9843 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.925, allocations: 52.62 kB / 0.9843 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.9262, allocations: 0.537 MB / 0.9848 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9262, allocations: 2.219 kB / 0.9849 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9262, allocations: 6.891 kB / 0.9849 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.9262, allocations: 0 / 0.9849 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.9285, allocations: 1.351 MB / 0.9862 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9285, allocations: 6.531 kB / 0.9862 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.9289, allocations: 78.78 kB / 0.9863 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.9289, allocations: 4.75 kB / 0.9863 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.9289, allocations: 11.91 kB / 0.9863 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.929, allocations: 5.219 kB / 0.9863 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.929, allocations: 14.78 kB / 0.9863 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.9306, allocations: 0.9334 MB / 0.9872 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.9309, allocations: 169.9 kB / 0.9874 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.9309, allocations: 15.42 kB / 0.9874 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.9314, allocations: 36.19 kB / 0.9874 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.9316, allocations: 55.62 kB / 0.9875 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.9316, allocations: 12.12 kB / 0.9875 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004006/0.932, allocations: 344.3 kB / 0.9878 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.932, allocations: 0 / 0.9878 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007128/0.9327, allocations: 150 kB / 0.988 GB, free: 6.105 MB / 0.7325 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.002264/0.935, allocations: 1.584 MB / 0.9895 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.9362, allocations: 0.5767 MB / 0.9901 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9362, allocations: 0.75 kB / 0.9901 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.9368, allocations: 290.1 kB / 0.9903 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.9382, allocations: 288.1 kB / 0.9906 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/0.9455, allocations: 4.994 MB / 0.9955 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.9462, allocations: 0.873 MB / 0.9963 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005327/0.9467, allocations: 124 kB / 0.9965 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.9471, allocations: 183.2 kB / 0.9966 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.9471, allocations: 0 / 0.9966 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.9879, allocations: 15.72 MB / 1.012 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/9.246, allocations: 9.688 kB / 1.012 GB, free: 8.25 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)