Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001292/0.001292, allocations: 100.6 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.001417/0.001417, 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.858/1.858, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.165/3.165, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004755, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.848, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1688/1.017, allocations: 135.6 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004643/1.022, allocations: 3.054 MB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/1.022, allocations: 7.938 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006054/1.022, allocations: 167.2 kB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009627/1.023, allocations: 343 kB / 1.117 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.025, allocations: 473 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005338/1.025, allocations: 384.5 kB / 1.118 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/1.026, allocations: 176.5 kB / 1.118 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007425/1.026, allocations: 350.9 kB / 1.118 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/1.027, allocations: 135.4 kB / 1.118 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/1.027, allocations: 12 kB / 1.118 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/1.027, allocations: 259.5 kB / 1.118 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/1.028, allocations: 75.8 kB / 1.119 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/1.028, allocations: 77.58 kB / 1.119 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/1.028, allocations: 327.3 kB / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/1.028, allocations: 0 / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.323e-06/1.028, allocations: 0 / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.028, allocations: 0 / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009909/1.029, allocations: 0.5922 MB / 1.12 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.029, allocations: 12.03 kB / 1.12 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/1.029, allocations: 54.55 kB / 1.12 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/1.03, allocations: 75.56 kB / 1.12 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/1.03, allocations: 273.6 kB / 1.12 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.03, allocations: 16.44 kB / 1.12 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.03, allocations: 16 kB / 1.12 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/1.031, allocations: 332.1 kB / 1.12 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.031, allocations: 0 / 1.12 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/1.031, allocations: 11.95 kB / 1.12 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.031, allocations: 8 kB / 1.12 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/1.032, allocations: 280.9 kB / 1.121 GB, free: 6.766 MB / 0.8731 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.001525/1.033, allocations: 1.256 MB / 1.122 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/1.034, allocations: 214.5 kB / 1.122 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/1.034, allocations: 137 kB / 1.122 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.034, allocations: 34.56 kB / 1.122 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 3.166e-06/1.034, allocations: 0 / 1.122 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002376/1.036, allocations: 0.623 MB / 1.123 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/1.037, allocations: 51.41 kB / 1.123 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/1.037, allocations: 259 kB / 1.123 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.037, allocations: 33.64 kB / 1.123 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/1.037, allocations: 168.2 kB / 1.123 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/1.037, allocations: 51.3 kB / 1.123 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/1.037, allocations: 0 / 1.123 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.037, allocations: 334.8 kB / 1.124 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/1.038, allocations: 111.9 kB / 1.124 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/1.038, allocations: 157 kB / 1.124 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/1.038, allocations: 123.9 kB / 1.124 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.038, allocations: 4 kB / 1.124 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001161/1.04, allocations: 385.9 kB / 1.124 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.04, allocations: 8.125 kB / 1.124 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.04, allocations: 4 kB / 1.124 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/1.04, allocations: 84.77 kB / 1.124 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/1.041, allocations: 55.89 kB / 1.125 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.043, allocations: 1.619 MB / 1.126 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/1.043, allocations: 47.88 kB / 1.126 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/1.043, allocations: 4 kB / 1.126 GB, free: 0.6719 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.043, allocations: 149.8 kB / 1.126 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/1.043, allocations: 31.58 kB / 1.126 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/1.045, allocations: 393.4 kB / 1.127 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.045, allocations: 0 / 1.127 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.045, allocations: 7.984 kB / 1.127 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.045, allocations: 0 / 1.127 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.047, allocations: 0.9647 MB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.047, allocations: 4 kB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/1.047, allocations: 39.97 kB / 1.128 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/1.048, allocations: 92.86 kB / 1.128 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.048, allocations: 96 / 1.128 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/1.05, allocations: 1.645 MB / 1.129 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.05, allocations: 4.031 kB / 1.129 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.052, allocations: 0.5552 MB / 1.13 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/1.052, allocations: 136.6 kB / 1.13 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/1.052, allocations: 0 / 1.13 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/1.052, allocations: 35.97 kB / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/1.052, allocations: 19.97 kB / 1.13 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/1.052, allocations: 8 kB / 1.13 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001756/1.052, allocations: 189.9 kB / 1.13 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.052, allocations: 0 / 1.13 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004334/1.053, allocations: 75.84 kB / 1.13 GB, free: 12 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/1.055, allocations: 1.481 MB / 1.132 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.056, allocations: 386.6 kB / 1.132 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.056, allocations: 4.062 kB / 1.132 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006252/1.057, allocations: 278.8 kB / 1.132 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/1.057, allocations: 119.9 kB / 1.133 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/1.062, allocations: 2.581 MB / 1.135 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.062, allocations: 0.7908 MB / 1.136 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002347/1.062, allocations: 50.27 kB / 1.136 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.063, allocations: 79.34 kB / 1.136 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of SimCode: time 4.61e-07/1.063, allocations: 0 / 1.136 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/1.138, allocations: 7.84 MB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.138, allocations: 267 kB / 1.144 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3.267, allocations: 0 / 1.144 GB, free: 14.12 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat