Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 175.3 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.578 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008329/0.0008328, allocations: 84.55 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 10.91 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2584, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8331/1.092, allocations: 177.4 MB / 1.074 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008058/1.1, allocations: 4.506 MB / 1.079 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/1.101, allocations: 21.72 kB / 1.079 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009673/1.102, allocations: 194 kB / 1.079 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/1.105, allocations: 0.7141 MB / 1.079 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005462/1.111, allocations: 1.409 MB / 1.081 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003517/1.114, allocations: 1.686 MB / 1.082 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.115, allocations: 382.3 kB / 1.083 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/1.117, allocations: 0.5293 MB / 1.083 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/1.118, allocations: 404.4 kB / 1.084 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/1.118, allocations: 26.16 kB / 1.084 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/1.124, allocations: 1.806 MB / 1.086 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/1.124, allocations: 174.8 kB / 1.086 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007985/1.125, allocations: 304.7 kB / 1.086 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004281/1.129, allocations: 1.38 MB / 1.087 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.129, allocations: 0 / 1.087 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.847e-06/1.129, allocations: 1.312 kB / 1.087 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.969e-05/1.129, allocations: 0 / 1.087 GB, free: 17.42 MB / 0.7136 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.002245/1.131, allocations: 0.9307 MB / 1.088 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/1.131, allocations: 10.22 kB / 1.088 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/1.132, allocations: 77.47 kB / 1.088 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/1.134, allocations: 285.4 kB / 1.089 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/1.135, allocations: 450.7 kB / 1.089 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.135, allocations: 34.17 kB / 1.089 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/1.135, allocations: 43.81 kB / 1.089 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/1.136, allocations: 0.5617 MB / 1.09 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.136, allocations: 7.969 kB / 1.09 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/1.136, allocations: 21.39 kB / 1.09 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.136, allocations: 9.594 kB / 1.09 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/1.137, allocations: 490.6 kB / 1.09 GB, free: 16.29 MB / 0.7136 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.003168/1.141, allocations: 2.125 MB / 1.092 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/1.142, allocations: 444 kB / 1.093 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/1.142, allocations: 241.9 kB / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/1.143, allocations: 417.6 kB / 1.093 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/1.144, allocations: 314.3 kB / 1.094 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 4.668e-06/1.144, allocations: 0 / 1.094 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.002043/1.146, allocations: 0.7326 MB / 1.094 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/1.146, allocations: 54.72 kB / 1.094 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/1.147, allocations: 495.9 kB / 1.095 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/1.147, allocations: 45.78 kB / 1.095 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/1.147, allocations: 257.6 kB / 1.095 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.147, allocations: 123.5 kB / 1.095 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/1.147, allocations: 12.34 kB / 1.095 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.148, allocations: 367.5 kB / 1.096 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.148, allocations: 216.8 kB / 1.096 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/1.149, allocations: 327.1 kB / 1.096 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/1.149, allocations: 0.5769 MB / 1.097 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.15, allocations: 0 / 1.097 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001319/1.151, allocations: 0.6791 MB / 1.097 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-05/1.151, allocations: 60.75 kB / 1.097 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.151, allocations: 6.969 kB / 1.097 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.151, allocations: 7.719 kB / 1.097 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/1.151, allocations: 102.7 kB / 1.097 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.151, allocations: 12.12 kB / 1.097 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/1.152, allocations: 89.08 kB / 1.098 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/1.152, allocations: 22.27 kB / 1.098 GB, free: 13.19 MB / 0.7136 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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.0002855/1.153, allocations: 193.7 kB / 1.098 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/1.153, allocations: 56.97 kB / 1.098 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.154, allocations: 0.5741 MB / 1.098 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.154, allocations: 3.719 kB / 1.098 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.154, allocations: 0 / 1.098 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.154, allocations: 2.859 kB / 1.098 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.156, allocations: 1.39 MB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.156, allocations: 3.875 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/1.157, allocations: 84.58 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/1.157, allocations: 3.094 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/1.157, allocations: 15.92 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/1.157, allocations: 5.938 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/1.157, allocations: 5.234 kB / 1.1 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.159, allocations: 0.9869 MB / 1.101 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004728/1.159, allocations: 171.6 kB / 1.101 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/1.159, allocations: 11.92 kB / 1.101 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/1.16, allocations: 51.98 kB / 1.101 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.16, allocations: 54.55 kB / 1.101 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/1.16, allocations: 15.03 kB / 1.101 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005866/1.161, allocations: 347.4 kB / 1.101 GB, free: 12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 0 / 1.101 GB, free: 12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007664/1.162, allocations: 146.2 kB / 1.102 GB, free: 11.99 MB / 0.7136 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.002794/1.164, allocations: 1.623 MB / 1.103 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.166, allocations: 0.6245 MB / 1.104 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.166, allocations: 0 / 1.104 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/1.166, allocations: 311.8 kB / 1.104 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.168, allocations: 277 kB / 1.104 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008526/1.177, allocations: 5.369 MB / 1.11 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/1.177, allocations: 0.8685 MB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007143/1.178, allocations: 127.5 kB / 1.111 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/1.178, allocations: 179.3 kB / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/1.178, allocations: 0 / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/1.219, allocations: 14.86 MB / 1.125 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004748/1.219, allocations: 254.8 kB / 1.125 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.024, allocations: 3.938 kB / 1.126 GB, free: 3.484 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)