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.001096/0.001101, allocations: 107.2 kB / 16.27 MB, free: 6.008 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.001275/0.001275, allocations: 189.5 kB / 17.2 MB, free: 5.621 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7361/0.7361, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3418, allocations: 77.93 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1616/0.5034, allocations: 161.5 MB / 0.725 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004728/0.5082, allocations: 3.499 MB / 0.7284 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.5085, allocations: 15.88 kB / 0.7284 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.5089, allocations: 135 kB / 0.7285 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.5101, allocations: 453.9 kB / 0.729 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.5115, allocations: 0.5872 MB / 0.7295 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.5121, allocations: 0.6284 MB / 0.7302 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.5125, allocations: 224.6 kB / 0.7304 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5136, allocations: 346.3 kB / 0.7307 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.5138, allocations: 195.2 kB / 0.7309 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.5139, allocations: 24 kB / 0.7309 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/0.5148, allocations: 0.5456 MB / 0.7314 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.515, allocations: 91.72 kB / 0.7315 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.5151, allocations: 143.3 kB / 0.7317 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007609/0.5159, allocations: 0.5454 MB / 0.7322 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5159, allocations: 0 / 0.7322 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5159, allocations: 4 kB / 0.7322 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.5159, allocations: 0 / 0.7322 GB, free: 1.398 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.001061/0.517, allocations: 0.6272 MB / 0.7328 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5171, allocations: 20.55 kB / 0.7328 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.5171, allocations: 54.55 kB / 0.7329 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.5176, allocations: 75.52 kB / 0.733 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.518, allocations: 293.3 kB / 0.7332 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.518, allocations: 16.44 kB / 0.7333 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.5181, allocations: 16 kB / 0.7333 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.5187, allocations: 316.2 kB / 0.7336 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5188, allocations: 4 kB / 0.7336 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.5188, allocations: 12 kB / 0.7336 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5188, allocations: 7.938 kB / 0.7336 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.5195, allocations: 244.9 kB / 0.7338 GB, free: 15.61 MB / 0.5762 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.001581/0.5211, allocations: 1.244 MB / 0.735 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.5216, allocations: 178.5 kB / 0.7352 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.5219, allocations: 120.8 kB / 0.7353 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.5225, allocations: 307.2 kB / 0.7356 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5225, allocations: 34.56 kB / 0.7357 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.5225, allocations: 3.938 kB / 0.7357 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002295/0.5248, allocations: 0.5843 MB / 0.7362 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5249, allocations: 55.34 kB / 0.7363 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.5252, allocations: 270.9 kB / 0.7365 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.5252, allocations: 25.7 kB / 0.7366 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5253, allocations: 160.2 kB / 0.7367 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.5254, allocations: 51.3 kB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.5254, allocations: 33.7 kB / 0.7368 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5256, allocations: 342.8 kB / 0.7371 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.5259, allocations: 91.83 kB / 0.7372 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.5262, allocations: 136.2 kB / 0.7373 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.5268, allocations: 240.1 kB / 0.7376 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5268, allocations: 0 / 0.7376 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001136/0.5279, allocations: 349.8 kB / 0.7379 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.528, allocations: 8 kB / 0.7379 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.528, allocations: 0 / 0.7379 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.5286, allocations: 88.89 kB / 0.738 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.5288, allocations: 47.89 kB / 0.738 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.5311, allocations: 1.732 MB / 0.7397 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.5313, allocations: 35.72 kB / 0.7398 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.5314, allocations: 8 kB / 0.7398 GB, free: 9.082 MB / 0.5762 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.0001674/0.5315, allocations: 147.1 kB / 0.7399 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.5316, allocations: 23.72 kB / 0.7399 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.5328, allocations: 367.9 kB / 0.7403 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.5328, allocations: 4 kB / 0.7403 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.5328, allocations: 0 / 0.7403 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5328, allocations: 0 / 0.7403 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.5345, allocations: 0.7785 MB / 0.7411 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5345, allocations: 0 / 0.7411 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5347, allocations: 31.97 kB / 0.7411 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.5352, allocations: 84.8 kB / 0.7412 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.5353, allocations: 4 kB / 0.7412 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.5374, allocations: 1.739 MB / 0.7429 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.5374, allocations: 4.031 kB / 0.7429 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.5386, allocations: 463.9 kB / 0.7433 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5387, allocations: 120.8 kB / 0.7434 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.5388, allocations: 7.938 kB / 0.7434 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.5391, allocations: 23.97 kB / 0.7435 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.5392, allocations: 19.97 kB / 0.7435 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5392, allocations: 4 kB / 0.7435 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001616/0.5394, allocations: 190 kB / 0.7437 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5394, allocations: 0 / 0.7437 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004335/0.5398, allocations: 83.84 kB / 0.7437 GB, free: 4.734 MB / 0.5762 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.001726/0.5415, allocations: 1.042 MB / 0.7448 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.5426, allocations: 374.5 kB / 0.7451 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5426, allocations: 0 / 0.7451 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.5432, allocations: 262.7 kB / 0.7454 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.5439, allocations: 124.9 kB / 0.7455 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2287/0.7727, allocations: 2.794 MB / 0.7482 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.773, allocations: 0.7775 MB / 0.749 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.7733, allocations: 51.02 kB / 0.749 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.7734, allocations: 75.28 kB / 0.7491 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7734, allocations: 0 / 0.7491 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.8183, allocations: 8.581 MB / 0.7575 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.83, allocations: 15.7 kB / 0.7575 GB, free: 170 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)