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.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 282.8 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8779/0.8779, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003175, allocations: 100.6 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1448, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4215/0.5663, allocations: 161.5 MB / 0.838 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.5701, allocations: 3.486 MB / 0.8414 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.5703, allocations: 11.06 kB / 0.8414 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.5707, allocations: 131.2 kB / 0.8415 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.5717, allocations: 459.2 kB / 0.842 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.573, allocations: 0.5869 MB / 0.8425 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000508/0.5736, allocations: 0.6241 MB / 0.8431 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.5739, allocations: 226.6 kB / 0.8434 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.5748, allocations: 342.3 kB / 0.8437 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.5751, allocations: 201.3 kB / 0.8439 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.5751, allocations: 22 kB / 0.8439 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.5759, allocations: 0.5387 MB / 0.8444 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.576, allocations: 101.5 kB / 0.8445 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.5762, allocations: 145.7 kB / 0.8447 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.5769, allocations: 0.547 MB / 0.8452 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5769, allocations: 1.375 kB / 0.8452 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5769, allocations: 4 kB / 0.8452 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5769, allocations: 0 / 0.8452 GB, free: 14.96 MB / 0.5762 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.001006/0.5779, allocations: 0.6369 MB / 0.8458 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.578, allocations: 9.562 kB / 0.8458 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.578, allocations: 57.2 kB / 0.8459 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.5785, allocations: 83.91 kB / 0.846 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.5789, allocations: 293.8 kB / 0.8463 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5789, allocations: 17.47 kB / 0.8463 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.5789, allocations: 17.72 kB / 0.8463 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.5795, allocations: 316.8 kB / 0.8466 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5796, allocations: 2.062 kB / 0.8466 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.5796, allocations: 6 kB / 0.8466 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5796, allocations: 8.469 kB / 0.8466 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.5802, allocations: 249.1 kB / 0.8468 GB, free: 13.68 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.001474/0.5817, allocations: 1.247 MB / 0.8481 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.5822, allocations: 178.4 kB / 0.8482 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.5825, allocations: 128 kB / 0.8484 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005369/0.583, allocations: 303.1 kB / 0.8486 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.583, allocations: 37.31 kB / 0.8487 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.583, allocations: 0 / 0.8487 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002133/0.5852, allocations: 0.5737 MB / 0.8492 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5852, allocations: 53.97 kB / 0.8493 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5855, allocations: 263.1 kB / 0.8495 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.5855, allocations: 28.02 kB / 0.8496 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.5856, allocations: 172.3 kB / 0.8497 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.5856, allocations: 47.52 kB / 0.8498 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.5857, allocations: 34.84 kB / 0.8498 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5858, allocations: 331.8 kB / 0.8501 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.5861, allocations: 97.81 kB / 0.8502 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.5864, allocations: 138.8 kB / 0.8503 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/0.587, allocations: 231.7 kB / 0.8506 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.587, allocations: 0 / 0.8506 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001107/0.5881, allocations: 357.5 kB / 0.8509 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5882, allocations: 12.19 kB / 0.8509 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5882, allocations: 4 kB / 0.8509 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.5888, allocations: 91.41 kB / 0.851 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.589, allocations: 40.78 kB / 0.8511 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.5911, allocations: 1.728 MB / 0.8527 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5913, allocations: 29.31 kB / 0.8528 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.5913, allocations: 8.969 kB / 0.8528 GB, free: 8.629 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.0001298/0.5915, allocations: 146.2 kB / 0.8529 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.5915, allocations: 25.28 kB / 0.8529 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5927, allocations: 367.2 kB / 0.8533 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5927, allocations: 2.688 kB / 0.8533 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.5927, allocations: 0 / 0.8533 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5927, allocations: 0 / 0.8533 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5943, allocations: 0.7759 MB / 0.8541 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5943, allocations: 0 / 0.8541 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.5945, allocations: 39.16 kB / 0.8541 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.595, allocations: 84.67 kB / 0.8542 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.595, allocations: 10.88 kB / 0.8542 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.5969, allocations: 1.744 MB / 0.8559 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5969, allocations: 2.125 kB / 0.8559 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.598, allocations: 458.5 kB / 0.8563 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5982, allocations: 120.2 kB / 0.8564 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.5982, allocations: 6.391 kB / 0.8564 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.5985, allocations: 32.38 kB / 0.8565 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.5985, allocations: 15.27 kB / 0.8565 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.5986, allocations: 4.906 kB / 0.8565 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001478/0.5987, allocations: 189.8 kB / 0.8567 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5987, allocations: 0 / 0.8567 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003778/0.5991, allocations: 87.08 kB / 0.8568 GB, free: 5.305 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.001717/0.6008, allocations: 1.036 MB / 0.8578 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.6019, allocations: 368.2 kB / 0.8581 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6019, allocations: 3.938 kB / 0.8581 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.6024, allocations: 263.8 kB / 0.8584 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.6032, allocations: 125.2 kB / 0.8585 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.6079, allocations: 2.809 MB / 0.8612 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.6084, allocations: 0.7737 MB / 0.862 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.6087, allocations: 50.39 kB / 0.862 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.6089, allocations: 75.94 kB / 0.8621 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6089, allocations: 2.594 kB / 0.8621 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.638, allocations: 8.599 MB / 0.8705 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.02, allocations: 9.859 kB / 0.8705 GB, free: 12.77 MB / 0.5919 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)