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.001006/0.001006, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.4 kB / 16.14 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.42 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 80.2 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4138/0.5599, allocations: 159.2 MB / 0.735 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.5645, allocations: 3.508 MB / 0.7384 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.5649, allocations: 9.469 kB / 0.7384 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.5653, allocations: 108.5 kB / 0.7385 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.5664, allocations: 422 kB / 0.7389 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.5679, allocations: 0.5367 MB / 0.7395 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.5687, allocations: 0.8132 MB / 0.7403 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.5689, allocations: 200.4 kB / 0.7404 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.5703, allocations: 303.3 kB / 0.7407 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.5706, allocations: 204.5 kB / 0.7409 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.5706, allocations: 13 kB / 0.7409 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.5717, allocations: 0.6285 MB / 0.7416 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.5718, allocations: 86.89 kB / 0.7416 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.572, allocations: 132.6 kB / 0.7418 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.5727, allocations: 0.5641 MB / 0.7423 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5727, allocations: 3.938 kB / 0.7423 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5727, allocations: 3.938 kB / 0.7423 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5727, allocations: 5.312 kB / 0.7423 GB, free: 9.969 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.001055/0.5738, allocations: 0.6248 MB / 0.7429 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5738, allocations: 7.812 kB / 0.7429 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.5739, allocations: 62.38 kB / 0.743 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.5744, allocations: 74.52 kB / 0.7431 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.5748, allocations: 291.8 kB / 0.7434 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5748, allocations: 16.41 kB / 0.7434 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5748, allocations: 21.84 kB / 0.7434 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.5755, allocations: 315.7 kB / 0.7437 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5755, allocations: 0 / 0.7437 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.5755, allocations: 11.94 kB / 0.7437 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5756, allocations: 6.219 kB / 0.7437 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.5762, allocations: 249 kB / 0.7439 GB, free: 8.688 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.00151/0.5777, allocations: 1.248 MB / 0.7452 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.5782, allocations: 171.1 kB / 0.7453 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.5785, allocations: 119.4 kB / 0.7454 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.5791, allocations: 308.3 kB / 0.7457 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5791, allocations: 37.31 kB / 0.7458 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.5791, allocations: 0 / 0.7458 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002282/0.5814, allocations: 0.5704 MB / 0.7463 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5815, allocations: 58.36 kB / 0.7464 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.5817, allocations: 250.5 kB / 0.7466 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.5817, allocations: 33.64 kB / 0.7467 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5818, allocations: 166.8 kB / 0.7468 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.5819, allocations: 52.06 kB / 0.7469 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.582, allocations: 38.66 kB / 0.7469 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5821, allocations: 334.3 kB / 0.7472 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.5824, allocations: 98.72 kB / 0.7473 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.5827, allocations: 135.9 kB / 0.7474 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.5832, allocations: 232.7 kB / 0.7477 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5832, allocations: 3.938 kB / 0.7477 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001128/0.5844, allocations: 359.3 kB / 0.748 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5844, allocations: 7.5 kB / 0.748 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5844, allocations: 0.875 kB / 0.748 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.585, allocations: 89.53 kB / 0.7481 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5852, allocations: 39.12 kB / 0.7481 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.5873, allocations: 1.613 MB / 0.7497 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.5876, allocations: 43.47 kB / 0.7498 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5876, allocations: 4.781 kB / 0.7498 GB, free: 3.742 MB / 0.5606 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.0001497/0.5878, allocations: 152.8 kB / 0.7499 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.5878, allocations: 21.72 kB / 0.7499 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.589, allocations: 365.4 kB / 0.7503 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.589, allocations: 2.781 kB / 0.7503 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.589, allocations: 0 / 0.7503 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.589, allocations: 3.984 kB / 0.7503 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5906, allocations: 0.7749 MB / 0.751 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5906, allocations: 1.781 kB / 0.751 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.5908, allocations: 39.92 kB / 0.7511 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.5913, allocations: 88.02 kB / 0.7512 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.5914, allocations: 2.469 kB / 0.7512 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.5931, allocations: 1.619 MB / 0.7528 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5931, allocations: 0 / 0.7528 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5942, allocations: 459.1 kB / 0.7532 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.5944, allocations: 124.7 kB / 0.7533 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.5944, allocations: 0.875 kB / 0.7533 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5947, allocations: 35.88 kB / 0.7533 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5948, allocations: 19.91 kB / 0.7534 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5948, allocations: 11.94 kB / 0.7534 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001605/0.595, allocations: 182 kB / 0.7535 GB, free: 360 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.595, allocations: 0 / 0.7535 GB, free: 360 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004473/0.5954, allocations: 79.94 kB / 0.7536 GB, free: 280 kB / 0.5606 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.00162/0.5971, allocations: 1.044 MB / 0.7546 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009602/0.598, allocations: 360.6 kB / 0.755 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.598, allocations: 4.25 kB / 0.755 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005728/0.5986, allocations: 254.5 kB / 0.7552 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.5994, allocations: 121 kB / 0.7553 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.604, allocations: 2.883 MB / 0.7582 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.6043, allocations: 0.7713 MB / 0.7589 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.6046, allocations: 58.31 kB / 0.759 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.6047, allocations: 79.41 kB / 0.759 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.6047, allocations: 0 / 0.759 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.6258, allocations: 8.052 MB / 0.7669 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.626, allocations: 260.3 kB / 0.7672 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.524, allocations: 2.953 kB / 0.7672 GB, free: 2.422 MB / 0.5762 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)