Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.001024/0.001024, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 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.578/1.578, allocations: 223.2 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.627/2.627, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8753, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1817/1.057, allocations: 148.2 MB / 1.126 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006063/1.063, allocations: 4.261 MB / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/1.064, allocations: 7.938 kB / 1.13 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/1.065, allocations: 87.34 kB / 1.13 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/1.066, allocations: 378.2 kB / 1.131 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/1.069, allocations: 0.5312 MB / 1.131 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001126/1.07, allocations: 0.6898 MB / 1.132 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/1.07, allocations: 157.2 kB / 1.132 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/1.072, allocations: 370.5 kB / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000818/1.072, allocations: 275 kB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/1.073, allocations: 12 kB / 1.132 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/1.074, allocations: 0.5183 MB / 1.133 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/1.074, allocations: 95.69 kB / 1.133 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/1.074, allocations: 69.58 kB / 1.133 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/1.075, allocations: 399.2 kB / 1.134 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.075, allocations: 0 / 1.134 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.564e-06/1.075, allocations: 0 / 1.134 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.075, allocations: 0 / 1.134 GB, free: 9.773 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001073/1.076, allocations: 0.5569 MB / 1.134 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.076, allocations: 12.03 kB / 1.134 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/1.076, allocations: 50.55 kB / 1.134 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/1.077, allocations: 79.55 kB / 1.134 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/1.077, allocations: 275.5 kB / 1.134 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.077, allocations: 16 kB / 1.134 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/1.077, allocations: 16 kB / 1.134 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/1.078, allocations: 299.3 kB / 1.135 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.078, allocations: 4 kB / 1.135 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/1.078, allocations: 8 kB / 1.135 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.078, allocations: 4 kB / 1.135 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/1.078, allocations: 219.5 kB / 1.135 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/1.08, allocations: 1.253 MB / 1.136 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/1.08, allocations: 173 kB / 1.136 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/1.081, allocations: 116.4 kB / 1.137 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/1.081, allocations: 347.1 kB / 1.137 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/1.081, allocations: 38.55 kB / 1.137 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/1.081, allocations: 3.984 kB / 1.137 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007675/1.082, allocations: 301 kB / 1.137 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.082, allocations: 158.7 kB / 1.137 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.083, allocations: 287 kB / 1.138 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/1.083, allocations: 25.7 kB / 1.138 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.083, allocations: 151.8 kB / 1.138 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/1.083, allocations: 47.34 kB / 1.138 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.083, allocations: 4 kB / 1.138 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.083, allocations: 334.8 kB / 1.138 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/1.083, allocations: 79.89 kB / 1.138 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/1.083, allocations: 146.4 kB / 1.138 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/1.084, allocations: 87.94 kB / 1.138 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.084, allocations: 4 kB / 1.138 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005153/1.084, allocations: 253 kB / 1.139 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.084, allocations: 4.25 kB / 1.139 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.084, allocations: 8 kB / 1.139 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.084, allocations: 4 kB / 1.139 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.084, allocations: 43.97 kB / 1.139 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.084, allocations: 0 / 1.139 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/1.085, allocations: 39.61 kB / 1.139 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/1.085, allocations: 12 kB / 1.139 GB, free: 3.949 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 (18): * Single equations (assignments): 18 * 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.0001658/1.085, allocations: 149.8 kB / 1.139 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.085, allocations: 27.72 kB / 1.139 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/1.085, allocations: 198.1 kB / 1.139 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.085, allocations: 4 kB / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.085, allocations: 0 / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.085, allocations: 4 kB / 1.139 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/1.086, allocations: 0.8745 MB / 1.14 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.086, allocations: 4 kB / 1.14 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/1.087, allocations: 23.98 kB / 1.14 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.087, allocations: 3.938 kB / 1.14 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.087, allocations: 8 kB / 1.14 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/1.087, allocations: 7.938 kB / 1.14 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.087, allocations: 4 kB / 1.14 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/1.087, allocations: 351.5 kB / 1.14 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/1.087, allocations: 120.7 kB / 1.14 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/1.087, allocations: 4 kB / 1.14 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.088, allocations: 15.98 kB / 1.141 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/1.088, allocations: 16 kB / 1.141 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/1.088, allocations: 4 kB / 1.141 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002717/1.088, allocations: 233.9 kB / 1.141 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.088, allocations: 0 / 1.141 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005216/1.088, allocations: 91.98 kB / 1.141 GB, free: 1.68 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.00161/1.09, allocations: 0.9801 MB / 1.142 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000485/1.091, allocations: 159.9 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.091, allocations: 0 / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.091, allocations: 60.72 kB / 1.142 GB, free: 460 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/1.092, allocations: 133.9 kB / 1.142 GB, free: 328 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/1.095, allocations: 1.59 MB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.095, allocations: 0.756 MB / 1.144 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002596/1.095, allocations: 62.88 kB / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.095, allocations: 71.41 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/1.095, allocations: 0 / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/1.118, allocations: 7.928 MB / 1.152 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.119, allocations: 228.2 kB / 1.153 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.067, allocations: 0 / 1.153 GB, free: 5.758 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat does not exist to compare? outputFormat=mat