Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_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.001451/0.001451, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 204.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6611/0.6611, allocations: 115.3 MB / 405.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.12 kB / 493 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1407, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4112/0.5519, allocations: 159.2 MB / 0.7113 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.5562, allocations: 3.509 MB / 0.7148 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.5564, allocations: 11.94 kB / 0.7148 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.5569, allocations: 107.3 kB / 0.7149 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.5579, allocations: 422.2 kB / 0.7153 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.5592, allocations: 0.5475 MB / 0.7158 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.5599, allocations: 0.8116 MB / 0.7166 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.5602, allocations: 208.5 kB / 0.7168 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.5615, allocations: 311.2 kB / 0.7171 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.5618, allocations: 195.1 kB / 0.7173 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.5618, allocations: 16 kB / 0.7173 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.5627, allocations: 0.6313 MB / 0.7179 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.5628, allocations: 83.72 kB / 0.718 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.5629, allocations: 135.3 kB / 0.7181 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.5636, allocations: 0.5686 MB / 0.7187 GB, free: 276 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5636, allocations: 4 kB / 0.7187 GB, free: 272 kB / 0.5294 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5636, allocations: 0 / 0.7187 GB, free: 272 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5636, allocations: 0 / 0.7187 GB, free: 272 kB / 0.5294 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.0009706/0.5646, allocations: 0.6319 MB / 0.7193 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5647, allocations: 12.03 kB / 0.7193 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.5647, allocations: 54.55 kB / 0.7194 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.5652, allocations: 83.5 kB / 0.7195 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.5656, allocations: 293.2 kB / 0.7197 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5656, allocations: 12.44 kB / 0.7197 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.5656, allocations: 20 kB / 0.7198 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.5663, allocations: 316.2 kB / 0.7201 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5663, allocations: 3.938 kB / 0.7201 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.5663, allocations: 8 kB / 0.7201 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5663, allocations: 7.938 kB / 0.7201 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.567, allocations: 248.9 kB / 0.7203 GB, free: 14.48 MB / 0.545 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.001467/0.5684, allocations: 1.248 MB / 0.7215 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.5689, allocations: 178.5 kB / 0.7217 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.5692, allocations: 120.8 kB / 0.7218 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.5697, allocations: 307.2 kB / 0.7221 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.5698, allocations: 30.56 kB / 0.7221 GB, free: 12.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5698, allocations: 0 / 0.7221 GB, free: 12.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.002169/0.572, allocations: 0.58 MB / 0.7227 GB, free: 11.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.572, allocations: 55.41 kB / 0.7228 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.5722, allocations: 255 kB / 0.723 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.5723, allocations: 33.7 kB / 0.723 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5724, allocations: 168.1 kB / 0.7232 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.5724, allocations: 47.3 kB / 0.7232 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.5725, allocations: 37.66 kB / 0.7233 GB, free: 11.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5726, allocations: 334.8 kB / 0.7236 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.5729, allocations: 99.91 kB / 0.7237 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5732, allocations: 140.1 kB / 0.7238 GB, free: 10.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.5738, allocations: 232.1 kB / 0.7241 GB, free: 10.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5738, allocations: 0 / 0.7241 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001104/0.5749, allocations: 353.8 kB / 0.7244 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5749, allocations: 4 kB / 0.7244 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.5749, allocations: 4 kB / 0.7244 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.5755, allocations: 88.88 kB / 0.7245 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.5758, allocations: 44.72 kB / 0.7245 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.5778, allocations: 1.611 MB / 0.7261 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.5781, allocations: 39.88 kB / 0.7261 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.5781, allocations: 11.94 kB / 0.7261 GB, free: 8.082 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.5782, allocations: 145.8 kB / 0.7263 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.5783, allocations: 27.66 kB / 0.7263 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.5794, allocations: 362.8 kB / 0.7267 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5794, allocations: 0 / 0.7267 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5794, allocations: 4 kB / 0.7267 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5794, allocations: 7.984 kB / 0.7267 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.581, allocations: 0.7745 MB / 0.7274 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.581, allocations: 0 / 0.7274 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.5812, allocations: 44.05 kB / 0.7275 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.5817, allocations: 84.77 kB / 0.7275 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.5817, allocations: 8 kB / 0.7276 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.5835, allocations: 1.621 MB / 0.7291 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5835, allocations: 3.938 kB / 0.7291 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5846, allocations: 454.4 kB / 0.7296 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5847, allocations: 120.8 kB / 0.7297 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.5847, allocations: 7.984 kB / 0.7297 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.585, allocations: 27.97 kB / 0.7297 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.5851, allocations: 15.98 kB / 0.7297 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.5851, allocations: 4 kB / 0.7297 GB, free: 4.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001644/0.5853, allocations: 197.8 kB / 0.7299 GB, free: 3.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5853, allocations: 0 / 0.7299 GB, free: 3.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003958/0.5857, allocations: 87.78 kB / 0.73 GB, free: 3.844 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001602/0.5873, allocations: 1.025 MB / 0.731 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009261/0.5882, allocations: 366.8 kB / 0.7314 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5883, allocations: 0 / 0.7314 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.5888, allocations: 262.7 kB / 0.7316 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.5895, allocations: 124.4 kB / 0.7317 GB, free: 2.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.594, allocations: 2.886 MB / 0.7346 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.5943, allocations: 0.7714 MB / 0.7353 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.5945, allocations: 58.19 kB / 0.7354 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5946, allocations: 71.42 kB / 0.7354 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5946, allocations: 0 / 0.7354 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.6145, allocations: 8.056 MB / 0.7433 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/0.6148, allocations: 271.1 kB / 0.7436 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.943, allocations: 0 / 0.7436 GB, free: 5.898 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)