Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001042/0.001042, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8343/0.8343, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 67.95 kB / 0.5048 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1266, allocations: 80.92 MB / 0.5838 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3389/0.4655, allocations: 159.2 MB / 0.7393 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.4696, allocations: 3.511 MB / 0.7427 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.4699, allocations: 9.281 kB / 0.7427 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.4703, allocations: 106.4 kB / 0.7428 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009573/0.4713, allocations: 421.5 kB / 0.7432 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.4726, allocations: 0.5405 MB / 0.7438 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.4733, allocations: 0.8166 MB / 0.7446 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.4736, allocations: 189.5 kB / 0.7447 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.475, allocations: 303 kB / 0.745 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.4753, allocations: 208.2 kB / 0.7452 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.4754, allocations: 12.38 kB / 0.7452 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.4763, allocations: 0.6278 MB / 0.7458 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4764, allocations: 85.91 kB / 0.7459 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.4766, allocations: 131.3 kB / 0.7461 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.4773, allocations: 0.5647 MB / 0.7466 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4773, allocations: 0 / 0.7466 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4773, allocations: 4 kB / 0.7466 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4773, allocations: 3.938 kB / 0.7466 GB, free: 4.961 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.000972/0.4783, allocations: 0.6323 MB / 0.7472 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4784, allocations: 9.906 kB / 0.7472 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.4784, allocations: 54.52 kB / 0.7473 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.4789, allocations: 84.97 kB / 0.7474 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.4792, allocations: 291.9 kB / 0.7477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4793, allocations: 11.81 kB / 0.7477 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.4793, allocations: 20.91 kB / 0.7477 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.4799, allocations: 316.9 kB / 0.748 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4799, allocations: 0 / 0.748 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.4799, allocations: 10.03 kB / 0.748 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4799, allocations: 5.281 kB / 0.748 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.4805, allocations: 253.3 kB / 0.7482 GB, free: 3.668 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.001365/0.4819, allocations: 1.242 MB / 0.7495 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.4823, allocations: 180.4 kB / 0.7496 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4826, allocations: 121.2 kB / 0.7497 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/0.4831, allocations: 305.2 kB / 0.75 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4832, allocations: 33.38 kB / 0.7501 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4832, allocations: 0 / 0.7501 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002095/0.4853, allocations: 0.5782 MB / 0.7506 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4853, allocations: 51.41 kB / 0.7507 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4855, allocations: 254.6 kB / 0.7509 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4856, allocations: 32.45 kB / 0.751 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.4857, allocations: 161.7 kB / 0.7511 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4857, allocations: 52.2 kB / 0.7512 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.4858, allocations: 38.73 kB / 0.7512 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.4859, allocations: 336 kB / 0.7515 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.4861, allocations: 94.84 kB / 0.7516 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.4864, allocations: 136.9 kB / 0.7517 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.487, allocations: 239.4 kB / 0.752 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.487, allocations: 2.5 kB / 0.752 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001069/0.488, allocations: 351.1 kB / 0.7523 GB, free: 368 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4881, allocations: 6.219 kB / 0.7523 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4881, allocations: 0 / 0.7523 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.4887, allocations: 99.23 kB / 0.7524 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4889, allocations: 40.31 kB / 0.7524 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.4907, allocations: 1.611 MB / 0.754 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.491, allocations: 43.81 kB / 0.7541 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.491, allocations: 4 kB / 0.7541 GB, free: 14.67 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.0001233/0.4912, allocations: 149.7 kB / 0.7542 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.4912, allocations: 23.72 kB / 0.7542 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4923, allocations: 370.9 kB / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4923, allocations: 0 / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4924, allocations: 0 / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4924, allocations: 192 / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.4939, allocations: 0.7834 MB / 0.7553 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.4939, allocations: 0 / 0.7553 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.4941, allocations: 31.97 kB / 0.7554 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.4946, allocations: 100.7 kB / 0.7555 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4947, allocations: 4 kB / 0.7555 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.4964, allocations: 1.614 MB / 0.757 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4964, allocations: 0 / 0.757 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4974, allocations: 454.4 kB / 0.7575 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4976, allocations: 124.7 kB / 0.7576 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4976, allocations: 5.5 kB / 0.7576 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4979, allocations: 27.97 kB / 0.7576 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.4979, allocations: 19.97 kB / 0.7577 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.498, allocations: 7.938 kB / 0.7577 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000147/0.4981, allocations: 189.9 kB / 0.7578 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4981, allocations: 0 / 0.7578 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003709/0.4985, allocations: 79.84 kB / 0.7579 GB, free: 10.44 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.001519/0.5, allocations: 1.052 MB / 0.7589 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000898/0.5009, allocations: 359.3 kB / 0.7593 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5009, allocations: 4.25 kB / 0.7593 GB, free: 9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.5015, allocations: 254.5 kB / 0.7595 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.5022, allocations: 105.2 kB / 0.7596 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.5065, allocations: 2.884 MB / 0.7624 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5068, allocations: 0.7752 MB / 0.7632 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.507, allocations: 62.3 kB / 0.7633 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5071, allocations: 71.42 kB / 0.7633 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5071, allocations: 0 / 0.7633 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5621/1.069, allocations: 8.049 MB / 0.7712 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.069, allocations: 273 kB / 0.7715 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.151, allocations: 0 / 0.7715 GB, free: 12.52 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)