Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.001183/0.001189, allocations: 99.86 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.001522/0.001522, allocations: 177.3 kB / 15.95 MB, free: 216 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.572/1.572, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.774/2.774, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.000422, allocations: 11.98 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8876, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2125/1.1, allocations: 141.8 MB / 1.119 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008382/1.109, allocations: 5.286 MB / 1.125 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/1.109, allocations: 7.938 kB / 1.125 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/1.11, allocations: 195.1 kB / 1.125 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/1.113, allocations: 0.7088 MB / 1.125 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/1.116, allocations: 0.5085 MB / 1.126 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001548/1.118, allocations: 452 kB / 1.126 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/1.118, allocations: 233.2 kB / 1.127 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/1.12, allocations: 0.4946 MB / 1.127 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/1.122, allocations: 331 kB / 1.127 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/1.122, allocations: 20 kB / 1.127 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/1.125, allocations: 0.5499 MB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/1.125, allocations: 99.7 kB / 1.128 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/1.125, allocations: 85.58 kB / 1.128 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/1.126, allocations: 462.9 kB / 1.129 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.126, allocations: 0 / 1.129 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.697e-06/1.126, allocations: 4 kB / 1.129 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.39e-05/1.126, allocations: 0 / 1.129 GB, free: 14.72 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001366/1.128, allocations: 0.6195 MB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.128, allocations: 8.031 kB / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/1.128, allocations: 66.53 kB / 1.129 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.129, allocations: 131.5 kB / 1.129 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/1.13, allocations: 309.3 kB / 1.13 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.13, allocations: 46.27 kB / 1.13 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/1.13, allocations: 32 kB / 1.13 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/1.131, allocations: 370.1 kB / 1.13 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.131, allocations: 0 / 1.13 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/1.131, allocations: 12 kB / 1.13 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/1.131, allocations: 11.98 kB / 1.13 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/1.131, allocations: 274 kB / 1.13 GB, free: 12.74 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.002214/1.134, allocations: 1.496 MB / 1.132 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/1.134, allocations: 158.5 kB / 1.132 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/1.135, allocations: 149 kB / 1.132 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.135, allocations: 34.56 kB / 1.132 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/1.135, allocations: 0 / 1.132 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001122/1.136, allocations: 388.2 kB / 1.132 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.136, allocations: 59.34 kB / 1.133 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/1.136, allocations: 312.5 kB / 1.133 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/1.136, allocations: 29.64 kB / 1.133 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.137, allocations: 188.1 kB / 1.133 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/1.137, allocations: 47.3 kB / 1.133 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/1.137, allocations: 8 kB / 1.133 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.137, allocations: 338.8 kB / 1.133 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.137, allocations: 95.92 kB / 1.134 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/1.137, allocations: 161.2 kB / 1.134 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/1.138, allocations: 111.9 kB / 1.134 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.138, allocations: 4 kB / 1.134 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007296/1.138, allocations: 317 kB / 1.134 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.138, allocations: 4 kB / 1.134 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.138, allocations: 4 kB / 1.134 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.138, allocations: 4 kB / 1.134 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/1.139, allocations: 43.91 kB / 1.134 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.139, allocations: 4 kB / 1.134 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/1.139, allocations: 39.86 kB / 1.134 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/1.139, allocations: 12 kB / 1.134 GB, free: 8.551 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0002229/1.139, allocations: 161.7 kB / 1.134 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.139, allocations: 31.58 kB / 1.134 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/1.14, allocations: 320.3 kB / 1.135 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.14, allocations: 3.938 kB / 1.135 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.14, allocations: 144 / 1.135 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.14, allocations: 7.984 kB / 1.135 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.142, allocations: 0.8161 MB / 1.135 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.142, allocations: 4 kB / 1.135 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/1.142, allocations: 43.91 kB / 1.136 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.142, allocations: 4 kB / 1.136 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/1.142, allocations: 8 kB / 1.136 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.142, allocations: 0 / 1.136 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.142, allocations: 4 kB / 1.136 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/1.143, allocations: 0.4894 MB / 1.136 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.143, allocations: 132.6 kB / 1.136 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/1.143, allocations: 4 kB / 1.136 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/1.143, allocations: 23.98 kB / 1.136 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/1.144, allocations: 23.92 kB / 1.136 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/1.144, allocations: 12 kB / 1.136 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002479/1.144, allocations: 227 kB / 1.136 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.654e-06/1.144, allocations: 0 / 1.136 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005992/1.144, allocations: 119.8 kB / 1.137 GB, free: 5.941 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001772/1.146, allocations: 1.624 MB / 1.138 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005663/1.147, allocations: 231.7 kB / 1.138 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.147, allocations: 4 kB / 1.138 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/1.147, allocations: 128.6 kB / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/1.148, allocations: 141.1 kB / 1.139 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/1.15, allocations: 2.243 MB / 1.141 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/1.151, allocations: 0.7914 MB / 1.142 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003537/1.151, allocations: 83 kB / 1.142 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/1.151, allocations: 103.4 kB / 1.142 GB, free: 420 kB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/1.151, allocations: 0 / 1.142 GB, free: 420 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/1.182, allocations: 9.758 MB / 1.151 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003633/1.182, allocations: 228.3 kB / 1.151 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.356, allocations: 3.938 kB / 1.152 GB, free: 6.617 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat does not exist to compare? outputFormat=mat