Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_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.005951/0.005951, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001195/0.001195, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9993/0.9993, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4917, allocations: 82.03 MB / 0.6752 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2012/0.693, allocations: 161.5 MB / 0.8329 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005921/0.699, allocations: 3.502 MB / 0.8363 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.6996, allocations: 11.94 kB / 0.8363 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.7002, allocations: 131 kB / 0.8365 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.7019, allocations: 453.9 kB / 0.8369 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.7037, allocations: 0.5956 MB / 0.8375 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008934/0.7046, allocations: 0.6205 MB / 0.8381 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.7051, allocations: 236.6 kB / 0.8383 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.7067, allocations: 350.2 kB / 0.8386 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.7071, allocations: 199.1 kB / 0.8388 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.7072, allocations: 20 kB / 0.8388 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.7083, allocations: 0.5495 MB / 0.8394 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.7084, allocations: 103.7 kB / 0.8395 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.7087, allocations: 139.3 kB / 0.8396 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.7098, allocations: 0.5648 MB / 0.8402 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7098, allocations: 0 / 0.8402 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7098, allocations: 0 / 0.8402 GB, free: 12.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.7098, allocations: 0 / 0.8402 GB, free: 12.86 MB / 0.67 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.001314/0.7111, allocations: 0.6388 MB / 0.8408 GB, free: 12.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7112, allocations: 8.031 kB / 0.8408 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.675e-05/0.7113, allocations: 58.53 kB / 0.8409 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.7119, allocations: 75.52 kB / 0.8409 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.7123, allocations: 301.4 kB / 0.8412 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.7123, allocations: 16.44 kB / 0.8412 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.7124, allocations: 20 kB / 0.8412 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.713, allocations: 316.1 kB / 0.8415 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.713, allocations: 0 / 0.8415 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.7131, allocations: 12 kB / 0.8416 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.7131, allocations: 7.938 kB / 0.8416 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.7137, allocations: 248.9 kB / 0.8418 GB, free: 11.06 MB / 0.67 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.001687/0.7154, allocations: 1.241 MB / 0.843 GB, free: 9.711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.7159, allocations: 170.5 kB / 0.8432 GB, free: 9.535 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.7162, allocations: 128.8 kB / 0.8433 GB, free: 9.406 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.7168, allocations: 303.2 kB / 0.8436 GB, free: 9.055 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.7168, allocations: 38.56 kB / 0.8436 GB, free: 9.008 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.7168, allocations: 0 / 0.8436 GB, free: 9.008 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.002209/0.719, allocations: 0.5731 MB / 0.8442 GB, free: 8.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.7191, allocations: 55.34 kB / 0.8442 GB, free: 8.34 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.7194, allocations: 254.6 kB / 0.8445 GB, free: 8.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.7194, allocations: 37.7 kB / 0.8445 GB, free: 8.047 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.7195, allocations: 164.2 kB / 0.8447 GB, free: 7.883 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.7196, allocations: 47.3 kB / 0.8447 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.7196, allocations: 37.7 kB / 0.8448 GB, free: 7.793 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7198, allocations: 330.8 kB / 0.8451 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.7201, allocations: 95.83 kB / 0.8452 GB, free: 7.367 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.7204, allocations: 142.1 kB / 0.8453 GB, free: 7.215 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.721, allocations: 239.2 kB / 0.8455 GB, free: 6.969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.721, allocations: 0 / 0.8455 GB, free: 6.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001198/0.7222, allocations: 353.9 kB / 0.8459 GB, free: 6.613 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7222, allocations: 4 kB / 0.8459 GB, free: 6.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7222, allocations: 4 kB / 0.8459 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.7229, allocations: 92.77 kB / 0.846 GB, free: 6.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.7231, allocations: 47.89 kB / 0.846 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.7256, allocations: 1.722 MB / 0.8477 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.7258, allocations: 31.92 kB / 0.8477 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.7259, allocations: 11.98 kB / 0.8477 GB, free: 4.555 MB / 0.67 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.0001846/0.7261, allocations: 149.8 kB / 0.8479 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.7261, allocations: 23.7 kB / 0.8479 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.7273, allocations: 360 kB / 0.8482 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7273, allocations: 3.984 kB / 0.8482 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.7273, allocations: 0 / 0.8482 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.7274, allocations: 0 / 0.8482 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.729, allocations: 0.7746 MB / 0.849 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.729, allocations: 3.984 kB / 0.849 GB, free: 3.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.7292, allocations: 35.91 kB / 0.849 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.7297, allocations: 80.81 kB / 0.8491 GB, free: 3.043 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.7297, allocations: 12 kB / 0.8491 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.7317, allocations: 1.744 MB / 0.8508 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7317, allocations: 0 / 0.8508 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.7328, allocations: 454.4 kB / 0.8513 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.733, allocations: 120.8 kB / 0.8514 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.733, allocations: 11.92 kB / 0.8514 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.7333, allocations: 19.97 kB / 0.8514 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.7334, allocations: 19.92 kB / 0.8514 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.7334, allocations: 4 kB / 0.8514 GB, free: 492 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001613/0.7336, allocations: 186 kB / 0.8516 GB, free: 304 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7336, allocations: 4 kB / 0.8516 GB, free: 300 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004327/0.734, allocations: 79.84 kB / 0.8517 GB, free: 220 kB / 0.67 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.001759/0.7358, allocations: 1.046 MB / 0.8527 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.7368, allocations: 370.6 kB / 0.8531 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7368, allocations: 0 / 0.8531 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.7374, allocations: 258.7 kB / 0.8533 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.7381, allocations: 122.4 kB / 0.8534 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.7431, allocations: 2.802 MB / 0.8562 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.7435, allocations: 0.7675 MB / 0.8569 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00022/0.7437, allocations: 66.23 kB / 0.857 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.7439, allocations: 75.41 kB / 0.857 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/0.7439, allocations: 0 / 0.857 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.7734, allocations: 8.861 MB / 0.8657 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.2, allocations: 12.05 kB / 0.8657 GB, free: 1.879 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)