Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_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.005726/0.005726, allocations: 97.42 kB / 15.73 MB, free: 5.602 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.001327/0.001327, allocations: 193.2 kB / 16.68 MB, free: 5.523 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 69.2 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 80.21 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4426/0.5783, allocations: 161.5 MB / 0.8169 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.5834, allocations: 3.496 MB / 0.8203 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.5838, allocations: 9.188 kB / 0.8203 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.5843, allocations: 133.6 kB / 0.8204 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.5856, allocations: 450.6 kB / 0.8209 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.5871, allocations: 0.5927 MB / 0.8215 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000688/0.5878, allocations: 0.6229 MB / 0.8221 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.5882, allocations: 222.7 kB / 0.8223 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5894, allocations: 347.5 kB / 0.8226 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.5897, allocations: 191.7 kB / 0.8228 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.5897, allocations: 22.47 kB / 0.8228 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.5906, allocations: 0.5522 MB / 0.8234 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.5907, allocations: 88.88 kB / 0.8234 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.5908, allocations: 145.1 kB / 0.8236 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.5916, allocations: 0.5566 MB / 0.8241 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5916, allocations: 0 / 0.8241 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5916, allocations: 0 / 0.8241 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5917, allocations: 0 / 0.8241 GB, free: 5.414 MB / 0.5919 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.001087/0.5927, allocations: 0.641 MB / 0.8247 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5928, allocations: 9.906 kB / 0.8248 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.33e-05/0.5929, allocations: 62.41 kB / 0.8248 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.5934, allocations: 80.34 kB / 0.8249 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.5938, allocations: 303.6 kB / 0.8252 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5939, allocations: 16.16 kB / 0.8252 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.5939, allocations: 16.56 kB / 0.8252 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.5945, allocations: 319.6 kB / 0.8255 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5946, allocations: 0 / 0.8255 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.5946, allocations: 14.06 kB / 0.8255 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5946, allocations: 4.719 kB / 0.8255 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.5953, allocations: 250.6 kB / 0.8258 GB, free: 4.105 MB / 0.5919 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.001625/0.5969, allocations: 1.247 MB / 0.827 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.5974, allocations: 176 kB / 0.8272 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.5977, allocations: 123.3 kB / 0.8273 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.5982, allocations: 302.2 kB / 0.8276 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5983, allocations: 33.06 kB / 0.8276 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5983, allocations: 0 / 0.8276 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.00215/0.6004, allocations: 0.579 MB / 0.8282 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.6005, allocations: 53.5 kB / 0.8282 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.6008, allocations: 250.1 kB / 0.8285 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6008, allocations: 31.67 kB / 0.8285 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6009, allocations: 169 kB / 0.8286 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.601, allocations: 47.34 kB / 0.8287 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.6011, allocations: 42.33 kB / 0.8287 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6012, allocations: 335.5 kB / 0.829 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.6015, allocations: 90.61 kB / 0.8291 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.6019, allocations: 146 kB / 0.8293 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.6024, allocations: 245.3 kB / 0.8295 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6025, allocations: 0 / 0.8295 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001106/0.6036, allocations: 356.6 kB / 0.8298 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6036, allocations: 4.875 kB / 0.8299 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6036, allocations: 0 / 0.8299 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.6042, allocations: 88.36 kB / 0.8299 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.6044, allocations: 46.27 kB / 0.83 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6067, allocations: 1.729 MB / 0.8317 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.6069, allocations: 32.5 kB / 0.8317 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.6069, allocations: 9.609 kB / 0.8317 GB, free: 15.05 MB / 0.6075 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.0001502/0.6071, allocations: 147.7 kB / 0.8319 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.6071, allocations: 22.48 kB / 0.8319 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.6083, allocations: 368.4 kB / 0.8322 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6083, allocations: 3.984 kB / 0.8322 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.6083, allocations: 0 / 0.8322 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6083, allocations: 2.719 kB / 0.8322 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.61, allocations: 0.7707 MB / 0.833 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.61, allocations: 10.7 kB / 0.833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6102, allocations: 38.44 kB / 0.833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.6106, allocations: 76.84 kB / 0.8331 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.6107, allocations: 6.031 kB / 0.8331 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.6127, allocations: 1.744 MB / 0.8348 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6127, allocations: 0 / 0.8348 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.6139, allocations: 458.5 kB / 0.8352 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.614, allocations: 113.6 kB / 0.8354 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.614, allocations: 9.984 kB / 0.8354 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.6143, allocations: 28.75 kB / 0.8354 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.6144, allocations: 15.73 kB / 0.8354 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.6144, allocations: 5.094 kB / 0.8354 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000179/0.6146, allocations: 184.8 kB / 0.8356 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.084e-06/0.6146, allocations: 3.938 kB / 0.8356 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004087/0.615, allocations: 89.73 kB / 0.8357 GB, free: 11.72 MB / 0.6075 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.001725/0.6167, allocations: 1.036 MB / 0.8367 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001/0.6177, allocations: 363.6 kB / 0.837 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6178, allocations: 1.812 kB / 0.837 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.6184, allocations: 262.2 kB / 0.8373 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.6191, allocations: 126.6 kB / 0.8374 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.6236, allocations: 2.819 MB / 0.8402 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.624, allocations: 0.7614 MB / 0.8409 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.6242, allocations: 61.61 kB / 0.841 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.6243, allocations: 79.62 kB / 0.841 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.6243, allocations: 0 / 0.841 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.9194, allocations: 8.67 MB / 0.8495 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.96, allocations: 9.516 kB / 0.8495 GB, free: 2.605 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)