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.0009861/0.000986, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001222/0.001222, allocations: 168.7 kB / 15.95 MB, free: 204 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.761/2.761, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8798, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1917/1.072, allocations: 154 MB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007752/1.079, allocations: 6.642 MB / 1.138 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/1.08, allocations: 11.88 kB / 1.138 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/1.08, allocations: 119.1 kB / 1.138 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/1.083, allocations: 0.8359 MB / 1.139 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/1.084, allocations: 481.8 kB / 1.139 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001054/1.085, allocations: 0.8888 MB / 1.14 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/1.086, allocations: 221.3 kB / 1.14 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/1.087, allocations: 478 kB / 1.141 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/1.088, allocations: 398.6 kB / 1.141 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/1.088, allocations: 16 kB / 1.141 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/1.089, allocations: 0.6352 MB / 1.142 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/1.089, allocations: 103.7 kB / 1.142 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/1.089, allocations: 81.58 kB / 1.142 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006963/1.09, allocations: 0.5261 MB / 1.143 GB, free: 460 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.09, allocations: 0 / 1.143 GB, free: 460 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.09, allocations: 0 / 1.143 GB, free: 460 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.461e-06/1.09, allocations: 0 / 1.143 GB, free: 460 kB / 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.0009595/1.091, allocations: 0.6351 MB / 1.143 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.091, allocations: 8.031 kB / 1.143 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/1.091, allocations: 58.55 kB / 1.143 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/1.092, allocations: 123.5 kB / 1.143 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/1.093, allocations: 321.3 kB / 1.144 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/1.093, allocations: 58.25 kB / 1.144 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/1.093, allocations: 27.98 kB / 1.144 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/1.093, allocations: 370.1 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.094, allocations: 0 / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/1.094, allocations: 12 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/1.094, allocations: 8 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/1.094, allocations: 282 kB / 1.144 GB, free: 14.45 MB / 0.9044 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.001876/1.096, allocations: 1.507 MB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/1.097, allocations: 198.6 kB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.097, allocations: 124.7 kB / 1.146 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009675/1.098, allocations: 0.517 MB / 1.147 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.098, allocations: 34.56 kB / 1.147 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.098, allocations: 0 / 1.147 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0009425/1.099, allocations: 382.5 kB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.099, allocations: 55.41 kB / 1.147 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/1.099, allocations: 316.5 kB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/1.099, allocations: 25.7 kB / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.099, allocations: 188 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/1.099, allocations: 59.22 kB / 1.148 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.099, allocations: 4 kB / 1.148 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.1, allocations: 338.8 kB / 1.148 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.1, allocations: 83.94 kB / 1.148 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/1.1, allocations: 155.5 kB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/1.1, allocations: 110.9 kB / 1.148 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.1, allocations: 0 / 1.148 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006019/1.101, allocations: 297 kB / 1.149 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.101, allocations: 9.594 kB / 1.149 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.101, allocations: 4 kB / 1.149 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.101, allocations: 0 / 1.149 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/1.101, allocations: 51.91 kB / 1.149 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.101, allocations: 0 / 1.149 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.101, allocations: 43.66 kB / 1.149 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.101, allocations: 16 kB / 1.149 GB, free: 9.676 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001613/1.102, allocations: 149.8 kB / 1.149 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/1.102, allocations: 31.58 kB / 1.149 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/1.102, allocations: 324.1 kB / 1.149 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.102, allocations: 0 / 1.149 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.102, allocations: 0 / 1.149 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.102, allocations: 0 / 1.149 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/1.104, allocations: 0.8199 MB / 1.15 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.104, allocations: 4.219 kB / 1.15 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/1.104, allocations: 43.91 kB / 1.15 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.104, allocations: 4 kB / 1.15 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.104, allocations: 8 kB / 1.15 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.104, allocations: 0 / 1.15 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.104, allocations: 8 kB / 1.15 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/1.105, allocations: 405.9 kB / 1.151 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.105, allocations: 140.6 kB / 1.151 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/1.105, allocations: 4 kB / 1.151 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/1.105, allocations: 27.97 kB / 1.151 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/1.105, allocations: 27.88 kB / 1.151 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/1.105, allocations: 8 kB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002143/1.105, allocations: 231 kB / 1.151 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.105, allocations: 0 / 1.151 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000495/1.106, allocations: 115.8 kB / 1.151 GB, free: 7.203 MB / 0.9044 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.001312/1.107, allocations: 1.063 MB / 1.152 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004966/1.108, allocations: 224 kB / 1.152 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.108, allocations: 0 / 1.152 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/1.108, allocations: 119.8 kB / 1.152 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/1.109, allocations: 152.2 kB / 1.153 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/1.112, allocations: 1.855 MB / 1.154 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/1.112, allocations: 0.7836 MB / 1.155 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003426/1.113, allocations: 86.98 kB / 1.155 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/1.113, allocations: 99.41 kB / 1.155 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/1.113, allocations: 0 / 1.155 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/1.137, allocations: 9.832 MB / 1.165 GB, free: 9.07 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.137, allocations: 231.5 kB / 1.165 GB, free: 8.828 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.186, allocations: 0 / 1.165 GB, free: 8.828 MB / 0.92 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