Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_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.001528/0.001528, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002166/0.002166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.807/2.807, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 8 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.011, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1924/1.204, allocations: 151.4 MB / 1.129 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006798/1.21, allocations: 4.133 MB / 1.133 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005361/1.211, allocations: 19.81 kB / 1.133 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009938/1.212, allocations: 274.8 kB / 1.133 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/1.214, allocations: 0.5842 MB / 1.134 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/1.217, allocations: 0.9709 MB / 1.135 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001474/1.219, allocations: 0.7451 MB / 1.135 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/1.22, allocations: 368.1 kB / 1.136 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/1.222, allocations: 0.6504 MB / 1.136 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/1.222, allocations: 286.8 kB / 1.137 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/1.222, allocations: 24 kB / 1.137 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/1.224, allocations: 0.5928 MB / 1.137 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/1.224, allocations: 151.6 kB / 1.137 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/1.225, allocations: 137.3 kB / 1.137 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/1.226, allocations: 0.6352 MB / 1.138 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.226, allocations: 0 / 1.138 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.764e-06/1.226, allocations: 0 / 1.138 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.226, allocations: 0 / 1.138 GB, free: 4.996 MB / 0.8887 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.002036/1.228, allocations: 0.9026 MB / 1.139 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.228, allocations: 8.031 kB / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/1.228, allocations: 86.47 kB / 1.139 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.231, allocations: 291 kB / 1.139 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.233, allocations: 433.7 kB / 1.14 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/1.233, allocations: 33 kB / 1.14 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.233, allocations: 40 kB / 1.14 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.234, allocations: 0.5585 MB / 1.14 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.234, allocations: 0 / 1.14 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/1.234, allocations: 16 kB / 1.14 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/1.234, allocations: 19.89 kB / 1.14 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/1.236, allocations: 487.5 kB / 1.141 GB, free: 2.012 MB / 0.8887 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.003218/1.239, allocations: 2.127 MB / 1.143 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.24, allocations: 442.4 kB / 1.143 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/1.241, allocations: 145 kB / 1.143 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/1.242, allocations: 332.3 kB / 1.144 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/1.242, allocations: 3.938 kB / 1.144 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001959/1.244, allocations: 0.7445 MB / 1.144 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.244, allocations: 81.11 kB / 1.145 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/1.244, allocations: 494 kB / 1.145 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/1.244, allocations: 29.7 kB / 1.145 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.245, allocations: 272 kB / 1.145 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/1.245, allocations: 118.3 kB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/1.245, allocations: 12 kB / 1.145 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.245, allocations: 358.8 kB / 1.146 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/1.246, allocations: 216.8 kB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/1.246, allocations: 333.3 kB / 1.146 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/1.247, allocations: 295.3 kB / 1.147 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.247, allocations: 0 / 1.147 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001364/1.248, allocations: 0.677 MB / 1.147 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/1.248, allocations: 59.41 kB / 1.147 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.248, allocations: 4 kB / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.248, allocations: 4 kB / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.249, allocations: 112.1 kB / 1.147 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.249, allocations: 7.953 kB / 1.147 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/1.25, allocations: 95.38 kB / 1.148 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/1.25, allocations: 27.94 kB / 1.148 GB, free: 10.77 MB / 0.9044 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.0002809/1.25, allocations: 193.6 kB / 1.148 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/1.25, allocations: 51.34 kB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.251, allocations: 0.5375 MB / 1.148 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.251, allocations: 4 kB / 1.148 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.251, allocations: 0 / 1.148 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.251, allocations: 3.953 kB / 1.148 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/1.254, allocations: 1.47 MB / 1.15 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.254, allocations: 4 kB / 1.15 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/1.254, allocations: 88.45 kB / 1.15 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/1.254, allocations: 11.98 kB / 1.15 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.254, allocations: 12 kB / 1.15 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.255, allocations: 7.938 kB / 1.15 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.255, allocations: 8 kB / 1.15 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/1.257, allocations: 1.234 MB / 1.151 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/1.257, allocations: 180.4 kB / 1.151 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.257, allocations: 15.95 kB / 1.151 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/1.258, allocations: 51.89 kB / 1.151 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.258, allocations: 63.81 kB / 1.151 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/1.258, allocations: 16 kB / 1.151 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004389/1.259, allocations: 342.8 kB / 1.152 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.259, allocations: 0 / 1.152 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007047/1.259, allocations: 155.8 kB / 1.152 GB, free: 5.996 MB / 0.9044 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.003126/1.262, allocations: 3.167 MB / 1.155 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.264, allocations: 0.6117 MB / 1.156 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.264, allocations: 4 kB / 1.156 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/1.265, allocations: 322.4 kB / 1.156 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.266, allocations: 281.5 kB / 1.156 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/1.273, allocations: 5.347 MB / 1.161 GB, free: 11.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/1.274, allocations: 0.8863 MB / 1.162 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007437/1.275, allocations: 128.7 kB / 1.162 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.275, allocations: 171.4 kB / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/1.275, allocations: 0 / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/1.309, allocations: 14.77 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.309, allocations: 227.7 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.718, allocations: 0 / 1.177 GB, free: 12.02 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat does not exist to compare? outputFormat=mat