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.001272/0.001272, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001256/0.001256, allocations: 191 kB / 16.91 MB, free: 6.195 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.682/0.682, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.91 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 76.17 MB / 0.556 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1546/0.454, allocations: 159.3 MB / 0.7116 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004475/0.4585, allocations: 3.474 MB / 0.7149 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.4588, allocations: 11.94 kB / 0.715 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.4593, allocations: 111.3 kB / 0.7151 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.4605, allocations: 422.3 kB / 0.7155 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4619, allocations: 0.5402 MB / 0.716 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.4628, allocations: 0.6399 MB / 0.7166 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.4634, allocations: 212.7 kB / 0.7168 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4652, allocations: 358.1 kB / 0.7172 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.4656, allocations: 211.2 kB / 0.7174 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.4657, allocations: 20 kB / 0.7174 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.4666, allocations: 0.5611 MB / 0.7179 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4667, allocations: 99.7 kB / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.4669, allocations: 147.3 kB / 0.7182 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.468, allocations: 0.5765 MB / 0.7187 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.468, allocations: 0 / 0.7187 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.468, allocations: 0 / 0.7187 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.468, allocations: 0 / 0.7187 GB, free: 13.46 MB / 0.5606 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.001193/0.4692, allocations: 0.6427 MB / 0.7194 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4693, allocations: 8.031 kB / 0.7194 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.4693, allocations: 54.55 kB / 0.7194 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.4699, allocations: 79.5 kB / 0.7195 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.4702, allocations: 293.3 kB / 0.7198 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.4703, allocations: 16.44 kB / 0.7198 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.4703, allocations: 16 kB / 0.7198 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.4709, allocations: 316.1 kB / 0.7201 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.471, allocations: 0 / 0.7201 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.471, allocations: 8 kB / 0.7201 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.471, allocations: 7.938 kB / 0.7201 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/0.4717, allocations: 256.9 kB / 0.7204 GB, free: 11.66 MB / 0.5606 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.001628/0.4733, allocations: 1.248 MB / 0.7216 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.4737, allocations: 166.5 kB / 0.7217 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.4741, allocations: 128.7 kB / 0.7219 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/0.4746, allocations: 303.2 kB / 0.7222 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.4747, allocations: 42.56 kB / 0.7222 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4747, allocations: 0 / 0.7222 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002219/0.4769, allocations: 0.5758 MB / 0.7228 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.477, allocations: 51.41 kB / 0.7228 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.4772, allocations: 267 kB / 0.7231 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4772, allocations: 25.7 kB / 0.7231 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4774, allocations: 172.1 kB / 0.7233 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.4774, allocations: 47.36 kB / 0.7233 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.4775, allocations: 33.66 kB / 0.7233 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4776, allocations: 342.8 kB / 0.7237 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.4779, allocations: 91.91 kB / 0.7237 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4783, allocations: 136.2 kB / 0.7239 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.4789, allocations: 236.1 kB / 0.7241 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4789, allocations: 0 / 0.7241 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001168/0.48, allocations: 354 kB / 0.7244 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4801, allocations: 11.98 kB / 0.7244 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4801, allocations: 0 / 0.7244 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.4807, allocations: 88.77 kB / 0.7245 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.4809, allocations: 43.91 kB / 0.7246 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.4831, allocations: 1.726 MB / 0.7263 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.4834, allocations: 31.89 kB / 0.7263 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.4834, allocations: 15.98 kB / 0.7263 GB, free: 5.137 MB / 0.5606 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.0001413/0.4836, allocations: 145.8 kB / 0.7264 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.4837, allocations: 23.72 kB / 0.7265 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.4848, allocations: 371.8 kB / 0.7268 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4848, allocations: 0 / 0.7268 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.4848, allocations: 8 kB / 0.7268 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4848, allocations: 0 / 0.7268 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4864, allocations: 0.7707 MB / 0.7276 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4864, allocations: 4 kB / 0.7276 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.4866, allocations: 36.06 kB / 0.7276 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.4871, allocations: 80.66 kB / 0.7277 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4871, allocations: 3.984 kB / 0.7277 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.489, allocations: 1.735 MB / 0.7294 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.489, allocations: 8.047 kB / 0.7294 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4901, allocations: 456.8 kB / 0.7298 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.4903, allocations: 120.8 kB / 0.73 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.4903, allocations: 7.938 kB / 0.73 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4906, allocations: 27.97 kB / 0.73 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.4907, allocations: 19.97 kB / 0.73 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4907, allocations: 4 kB / 0.73 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001697/0.4909, allocations: 186 kB / 0.7302 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.603e-06/0.4909, allocations: 3.938 kB / 0.7302 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003935/0.4913, allocations: 87.78 kB / 0.7303 GB, free: 0.7852 MB / 0.5606 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.001612/0.4929, allocations: 1.04 MB / 0.7313 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009239/0.4938, allocations: 378.5 kB / 0.7317 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4938, allocations: 4 kB / 0.7317 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.4944, allocations: 255.5 kB / 0.7319 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.4951, allocations: 120.8 kB / 0.732 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.4996, allocations: 2.887 MB / 0.7348 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4999, allocations: 0.7752 MB / 0.7356 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000213/0.5001, allocations: 58.25 kB / 0.7356 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5003, allocations: 83.41 kB / 0.7357 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5003, allocations: 0 / 0.7357 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.5496, allocations: 8.321 MB / 0.7439 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.5499, allocations: 269.8 kB / 0.7441 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.491, allocations: 0 / 0.7441 GB, free: 2.594 MB / 0.5762 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)