Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_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.004375/0.004375, allocations: 99.34 kB / 15.73 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.001215/0.001215, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 282.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 105 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1778, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5064/0.6843, allocations: 161.5 MB / 0.9236 GB, free: 1.621 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005319/0.6896, allocations: 3.484 MB / 0.927 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.69, allocations: 11.88 kB / 0.927 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.6906, allocations: 143 kB / 0.9272 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.6918, allocations: 449.9 kB / 0.9276 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.6934, allocations: 0.6041 MB / 0.9282 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.6942, allocations: 0.6244 MB / 0.9288 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.6946, allocations: 227.2 kB / 0.929 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.6959, allocations: 346.8 kB / 0.9293 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.6962, allocations: 195.2 kB / 0.9295 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.6963, allocations: 20 kB / 0.9295 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.6973, allocations: 0.5456 MB / 0.9301 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.6974, allocations: 99.69 kB / 0.9302 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.6976, allocations: 139.3 kB / 0.9303 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008673/0.6984, allocations: 0.5697 MB / 0.9309 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6985, allocations: 4 kB / 0.9309 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6985, allocations: 0 / 0.9309 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6985, allocations: 0 / 0.9309 GB, free: 10.21 MB / 0.6856 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.001145/0.6996, allocations: 0.6422 MB / 0.9315 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6997, allocations: 12.03 kB / 0.9315 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.6998, allocations: 60.53 kB / 0.9316 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.7003, allocations: 71.7 kB / 0.9316 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.7007, allocations: 313.5 kB / 0.9319 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.7008, allocations: 12.44 kB / 0.9319 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.7008, allocations: 23.98 kB / 0.932 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.7015, allocations: 316.1 kB / 0.9323 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7015, allocations: 0 / 0.9323 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.7015, allocations: 12 kB / 0.9323 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7015, allocations: 7.938 kB / 0.9323 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.7022, allocations: 244.9 kB / 0.9325 GB, free: 8.395 MB / 0.6856 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.001666/0.7039, allocations: 1.248 MB / 0.9337 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.7043, allocations: 174.5 kB / 0.9339 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.7046, allocations: 132.7 kB / 0.934 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.7053, allocations: 299.2 kB / 0.9343 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.7053, allocations: 38.56 kB / 0.9344 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7053, allocations: 3.938 kB / 0.9344 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.002265/0.7076, allocations: 0.5693 MB / 0.9349 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.7076, allocations: 59.41 kB / 0.935 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.7079, allocations: 255 kB / 0.9352 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.708, allocations: 29.7 kB / 0.9352 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.7081, allocations: 164.4 kB / 0.9354 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.7081, allocations: 55.52 kB / 0.9355 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.7082, allocations: 49.59 kB / 0.9355 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7084, allocations: 330.8 kB / 0.9358 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.7087, allocations: 95.91 kB / 0.9359 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.709, allocations: 132.2 kB / 0.936 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.7096, allocations: 240.1 kB / 0.9363 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7096, allocations: 0 / 0.9363 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001153/0.7107, allocations: 359.9 kB / 0.9366 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7108, allocations: 4 kB / 0.9366 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7108, allocations: 4.125 kB / 0.9366 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.7114, allocations: 88.75 kB / 0.9367 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.7117, allocations: 43.91 kB / 0.9367 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.714, allocations: 1.722 MB / 0.9384 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.7143, allocations: 35.86 kB / 0.9385 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.7143, allocations: 4 kB / 0.9385 GB, free: 1.867 MB / 0.6856 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.0001728/0.7145, allocations: 146.4 kB / 0.9386 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.7145, allocations: 27.86 kB / 0.9386 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.7157, allocations: 372.8 kB / 0.939 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7158, allocations: 0 / 0.939 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.7158, allocations: 0 / 0.939 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7158, allocations: 0 / 0.939 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.7175, allocations: 0.7839 MB / 0.9397 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7175, allocations: 0 / 0.9397 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.7177, allocations: 31.97 kB / 0.9398 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.7181, allocations: 80.86 kB / 0.9399 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.7182, allocations: 16.02 kB / 0.9399 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.7203, allocations: 1.74 MB / 0.9416 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7203, allocations: 0.875 kB / 0.9416 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.7214, allocations: 450.5 kB / 0.942 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7216, allocations: 128.8 kB / 0.9421 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.7216, allocations: 8 kB / 0.9421 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.7219, allocations: 23.91 kB / 0.9422 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.722, allocations: 19.97 kB / 0.9422 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.722, allocations: 12 kB / 0.9422 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001817/0.7222, allocations: 182 kB / 0.9424 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7222, allocations: 0 / 0.9424 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005205/0.7227, allocations: 79.89 kB / 0.9424 GB, free: 13.52 MB / 0.7012 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.001767/0.7245, allocations: 1.059 MB / 0.9435 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009855/0.7255, allocations: 362.6 kB / 0.9438 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7255, allocations: 0 / 0.9438 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.7261, allocations: 258.5 kB / 0.9441 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.7269, allocations: 125.2 kB / 0.9442 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.7318, allocations: 2.825 MB / 0.9469 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.7322, allocations: 0.7714 MB / 0.9477 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.7324, allocations: 58.27 kB / 0.9477 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7326, allocations: 83.34 kB / 0.9478 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.7326, allocations: 0 / 0.9478 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.7701, allocations: 8.692 MB / 0.9563 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.2, allocations: 10.19 kB / 0.9563 GB, free: 15.34 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)