Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 187.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 93.16 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006835, allocations: 13.78 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2463, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9442/1.191, allocations: 151.4 MB / 1.126 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00906/1.2, allocations: 4.129 MB / 1.13 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/1.201, allocations: 18.62 kB / 1.13 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.202, allocations: 274.7 kB / 1.13 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/1.205, allocations: 0.5805 MB / 1.131 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/1.21, allocations: 0.9733 MB / 1.132 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002278/1.212, allocations: 0.7446 MB / 1.133 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009342/1.213, allocations: 363.6 kB / 1.133 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/1.216, allocations: 0.6565 MB / 1.134 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000753/1.217, allocations: 284.8 kB / 1.134 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/1.217, allocations: 27.47 kB / 1.134 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/1.22, allocations: 0.5928 MB / 1.135 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/1.22, allocations: 152.4 kB / 1.135 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/1.22, allocations: 135.7 kB / 1.135 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/1.222, allocations: 0.6402 MB / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.222, allocations: 2.375 kB / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.222, allocations: 0 / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.595e-05/1.222, allocations: 0 / 1.135 GB, free: 15.4 MB / 0.698 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.002551/1.225, allocations: 0.8949 MB / 1.136 GB, free: 14.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.225, allocations: 11.84 kB / 1.136 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/1.225, allocations: 79.56 kB / 1.136 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/1.228, allocations: 295.4 kB / 1.137 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.229, allocations: 438.5 kB / 1.137 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/1.229, allocations: 32.09 kB / 1.137 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.23, allocations: 42.06 kB / 1.137 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.231, allocations: 0.5551 MB / 1.138 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.231, allocations: 1.469 kB / 1.138 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/1.232, allocations: 16.78 kB / 1.138 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.232, allocations: 9.531 kB / 1.138 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/1.233, allocations: 490.1 kB / 1.138 GB, free: 14.28 MB / 0.698 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.004244/1.238, allocations: 2.132 MB / 1.14 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.239, allocations: 450.1 kB / 1.141 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/1.24, allocations: 142 kB / 1.141 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.241, allocations: 335 kB / 1.141 GB, free: 12.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.286e-06/1.241, allocations: 0 / 1.141 GB, free: 12.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0033/1.245, allocations: 0.7428 MB / 1.142 GB, free: 12.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/1.245, allocations: 86.84 kB / 1.142 GB, free: 12.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.246, allocations: 492.7 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/1.246, allocations: 36.2 kB / 1.142 GB, free: 12.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/1.246, allocations: 256.8 kB / 1.143 GB, free: 11.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.247, allocations: 128.5 kB / 1.143 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/1.247, allocations: 12.69 kB / 1.143 GB, free: 11.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.247, allocations: 371.5 kB / 1.143 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009537/1.248, allocations: 211.4 kB / 1.143 GB, free: 11.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.249, allocations: 329 kB / 1.144 GB, free: 11.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.25, allocations: 297.2 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.25, allocations: 1.312 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002451/1.252, allocations: 0.677 MB / 1.145 GB, free: 10.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/1.253, allocations: 64.42 kB / 1.145 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.253, allocations: 4.156 kB / 1.145 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.253, allocations: 5.281 kB / 1.145 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/1.254, allocations: 106.8 kB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/1.254, allocations: 9.344 kB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.255, allocations: 87.14 kB / 1.145 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.255, allocations: 31.97 kB / 1.145 GB, free: 10.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004282/1.255, allocations: 191.1 kB / 1.145 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.255, allocations: 53.09 kB / 1.145 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/1.257, allocations: 0.5332 MB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.257, allocations: 5.312 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.257, allocations: 0 / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.257, allocations: 5.047 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/1.262, allocations: 1.47 MB / 1.147 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.262, allocations: 3.75 kB / 1.147 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/1.263, allocations: 96.16 kB / 1.147 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.263, allocations: 6.188 kB / 1.147 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.263, allocations: 11.97 kB / 1.147 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/1.263, allocations: 9.859 kB / 1.147 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/1.263, allocations: 10.03 kB / 1.147 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/1.267, allocations: 1.226 MB / 1.149 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/1.267, allocations: 177.3 kB / 1.149 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.267, allocations: 18.17 kB / 1.149 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009035/1.268, allocations: 52.11 kB / 1.149 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.268, allocations: 59.08 kB / 1.149 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/1.268, allocations: 19.59 kB / 1.149 GB, free: 8.652 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007265/1.269, allocations: 342.5 kB / 1.149 GB, free: 8.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.269, allocations: 0 / 1.149 GB, free: 8.516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001129/1.27, allocations: 147 kB / 1.149 GB, free: 8.508 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005063/1.275, allocations: 3.185 MB / 1.152 GB, free: 5.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.278, allocations: 0.6051 MB / 1.153 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.278, allocations: 0.9688 kB / 1.153 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.279, allocations: 329.3 kB / 1.153 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.282, allocations: 279 kB / 1.154 GB, free: 5.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.293, allocations: 5.347 MB / 1.159 GB, free: 1.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/1.294, allocations: 0.8775 MB / 1.16 GB, free: 1.035 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001078/1.295, allocations: 128.8 kB / 1.16 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/1.296, allocations: 176.6 kB / 1.16 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.296, allocations: 0 / 1.16 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06803/1.364, allocations: 14.78 MB / 1.174 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/1.364, allocations: 215 kB / 1.175 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/4.866, allocations: 0 / 1.175 GB, free: 9.621 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)