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.0008674/0.0008675, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005302/0.005302, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001649, allocations: 266.9 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8562/0.8562, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 12.69 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3744/0.4969, allocations: 157.2 MB / 0.8387 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.5009, allocations: 3.466 MB / 0.8421 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.5011, allocations: 9.375 kB / 0.8421 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.5015, allocations: 104.4 kB / 0.8422 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.5024, allocations: 419.5 kB / 0.8426 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.5036, allocations: 0.5452 MB / 0.8431 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006995/0.5043, allocations: 0.818 MB / 0.8439 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.5046, allocations: 194.2 kB / 0.8441 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.5058, allocations: 299.8 kB / 0.8444 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.5061, allocations: 191.5 kB / 0.8446 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.5061, allocations: 10.16 kB / 0.8446 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.5069, allocations: 0.6393 MB / 0.8452 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.507, allocations: 77.53 kB / 0.8453 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.5071, allocations: 151.5 kB / 0.8454 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.5077, allocations: 0.5768 MB / 0.846 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5077, allocations: 0 / 0.846 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5077, allocations: 0 / 0.846 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.5077, allocations: 0 / 0.846 GB, free: 2.504 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.0008175/0.5086, allocations: 0.599 MB / 0.8466 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.5086, allocations: 8.25 kB / 0.8466 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.5087, allocations: 58.5 kB / 0.8467 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.5091, allocations: 80.92 kB / 0.8467 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.5094, allocations: 290.7 kB / 0.847 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5094, allocations: 16.47 kB / 0.847 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.5095, allocations: 19.25 kB / 0.847 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.51, allocations: 330.7 kB / 0.8474 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.51, allocations: 0 / 0.8474 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.5101, allocations: 6.906 kB / 0.8474 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5101, allocations: 12.89 kB / 0.8474 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.5107, allocations: 287.1 kB / 0.8477 GB, free: 1.23 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.001287/0.512, allocations: 1.256 MB / 0.8489 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.5124, allocations: 197.5 kB / 0.8491 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.5127, allocations: 141.6 kB / 0.8492 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.5132, allocations: 316.6 kB / 0.8495 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.5133, allocations: 31.38 kB / 0.8495 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.5133, allocations: 0 / 0.8495 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002063/0.5153, allocations: 0.6266 MB / 0.8501 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.5154, allocations: 54.25 kB / 0.8502 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5156, allocations: 264 kB / 0.8505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5156, allocations: 25.7 kB / 0.8505 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.5157, allocations: 165.4 kB / 0.8506 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.5157, allocations: 51.8 kB / 0.8507 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.5158, allocations: 20.55 kB / 0.8507 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.5159, allocations: 327.9 kB / 0.851 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.5162, allocations: 114 kB / 0.8511 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.5165, allocations: 157 kB / 0.8513 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.517, allocations: 273.5 kB / 0.8515 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.517, allocations: 0 / 0.8515 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001073/0.5181, allocations: 387.5 kB / 0.8519 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5181, allocations: 10.09 kB / 0.8519 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5182, allocations: 0 / 0.8519 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.5187, allocations: 96.12 kB / 0.852 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5189, allocations: 46.09 kB / 0.852 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.5207, allocations: 1.615 MB / 0.8536 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.521, allocations: 42.64 kB / 0.8537 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.521, allocations: 17.83 kB / 0.8537 GB, free: 12.25 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.0001198/0.5211, allocations: 146.3 kB / 0.8538 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.5212, allocations: 25.72 kB / 0.8538 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.5223, allocations: 397.7 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5223, allocations: 1.812 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-06/0.5223, allocations: 4 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5223, allocations: 3.5 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5238, allocations: 0.8023 MB / 0.855 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5238, allocations: 0 / 0.855 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.524, allocations: 48.7 kB / 0.8551 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.5244, allocations: 91.45 kB / 0.8552 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5245, allocations: 6.938 kB / 0.8552 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.526, allocations: 1.631 MB / 0.8568 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5261, allocations: 4.062 kB / 0.8568 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5271, allocations: 481.4 kB / 0.8572 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.5272, allocations: 125.8 kB / 0.8573 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.5272, allocations: 0 / 0.8573 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.5275, allocations: 37.44 kB / 0.8574 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.5276, allocations: 19.72 kB / 0.8574 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5276, allocations: 6.062 kB / 0.8574 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001343/0.5277, allocations: 192.9 kB / 0.8576 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5277, allocations: 4 kB / 0.8576 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003351/0.5281, allocations: 89.38 kB / 0.8577 GB, free: 9.02 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.001442/0.5295, allocations: 1.072 MB / 0.8587 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008605/0.5304, allocations: 396.3 kB / 0.8591 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5304, allocations: 0 / 0.8591 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.531, allocations: 277.9 kB / 0.8594 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.5317, allocations: 110.3 kB / 0.8595 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.5358, allocations: 2.996 MB / 0.8624 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5361, allocations: 0.7758 MB / 0.8631 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.5363, allocations: 60.81 kB / 0.8632 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.5364, allocations: 75.19 kB / 0.8633 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5364, allocations: 0 / 0.8633 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.005/3.541, allocations: 7.955 MB / 0.871 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/3.542, allocations: 286.5 kB / 0.8713 GB, free: 400 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/6.006, allocations: 3.875 kB / 0.8713 GB, free: 400 kB / 0.5762 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)