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.001401/0.001402, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001647/0.001647, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.605/2.605, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.184/1.184, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004431, allocations: 13.81 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.8583, allocations: 81.57 MB / 0.583 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2886/1.147, allocations: 135.6 MB / 0.7154 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008969/1.156, allocations: 3.026 MB / 0.7184 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/1.157, allocations: 7.938 kB / 0.7184 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/1.158, allocations: 171.2 kB / 0.7185 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/1.161, allocations: 339 kB / 0.7189 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/1.163, allocations: 478.6 kB / 0.7193 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001372/1.165, allocations: 376.6 kB / 0.7197 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/1.165, allocations: 188.3 kB / 0.7199 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/1.167, allocations: 339 kB / 0.7202 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/1.167, allocations: 139.4 kB / 0.7203 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/1.167, allocations: 12 kB / 0.7203 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/1.168, allocations: 251.6 kB / 0.7206 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/1.169, allocations: 83.7 kB / 0.7206 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/1.169, allocations: 77.58 kB / 0.7207 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009715/1.17, allocations: 311.2 kB / 0.721 GB, free: 2.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.17, allocations: 0 / 0.721 GB, free: 2.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.107e-06/1.17, allocations: 0 / 0.721 GB, free: 2.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.17, allocations: 0 / 0.721 GB, free: 2.906 MB / 0.545 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.001919/1.172, allocations: 0.5846 MB / 0.7216 GB, free: 2.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.49e-05/1.172, allocations: 16.02 kB / 0.7216 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/1.172, allocations: 54.55 kB / 0.7217 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/1.173, allocations: 67.58 kB / 0.7217 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/1.174, allocations: 297.4 kB / 0.722 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/1.174, allocations: 12.44 kB / 0.722 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/1.174, allocations: 20 kB / 0.722 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.175, allocations: 332.1 kB / 0.7224 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.175, allocations: 4 kB / 0.7224 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/1.175, allocations: 8 kB / 0.7224 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/1.175, allocations: 11.98 kB / 0.7224 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/1.176, allocations: 276.9 kB / 0.7226 GB, free: 1.129 MB / 0.545 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.00302/1.179, allocations: 1.244 MB / 0.7239 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/1.18, allocations: 218.4 kB / 0.7241 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/1.181, allocations: 129 kB / 0.7242 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.181, allocations: 46.55 kB / 0.7242 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 6.322e-06/1.181, allocations: 0 / 0.7242 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.003288/1.184, allocations: 0.6086 MB / 0.7248 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.184, allocations: 55.34 kB / 0.7249 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/1.185, allocations: 254.7 kB / 0.7251 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/1.185, allocations: 29.7 kB / 0.7251 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/1.185, allocations: 168.1 kB / 0.7253 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/1.186, allocations: 51.34 kB / 0.7254 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/1.186, allocations: 0 / 0.7254 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002967/1.186, allocations: 338.8 kB / 0.7257 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/1.186, allocations: 107.9 kB / 0.7258 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/1.187, allocations: 161 kB / 0.7259 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/1.187, allocations: 120 kB / 0.7261 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.187, allocations: 4 kB / 0.7261 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001846/1.189, allocations: 389.7 kB / 0.7264 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.189, allocations: 14.12 kB / 0.7264 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.189, allocations: 0 / 0.7264 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008313/1.19, allocations: 92.88 kB / 0.7265 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/1.191, allocations: 43.97 kB / 0.7266 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/1.194, allocations: 1.629 MB / 0.7282 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/1.195, allocations: 51.83 kB / 0.7282 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.195, allocations: 4 kB / 0.7282 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002785/1.195, allocations: 145.8 kB / 0.7284 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/1.195, allocations: 31.66 kB / 0.7284 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/1.197, allocations: 400 kB / 0.7288 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.197, allocations: 0 / 0.7288 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/1.197, allocations: 3.938 kB / 0.7288 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.197, allocations: 0 / 0.7288 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/1.2, allocations: 0.9531 MB / 0.7297 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/1.2, allocations: 8.156 kB / 0.7297 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/1.2, allocations: 39.97 kB / 0.7297 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/1.201, allocations: 97.08 kB / 0.7298 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.201, allocations: 0 / 0.7298 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/1.204, allocations: 1.652 MB / 0.7315 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.204, allocations: 3.953 kB / 0.7315 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.206, allocations: 0.5397 MB / 0.732 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/1.206, allocations: 116.8 kB / 0.7321 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/1.206, allocations: 7.953 kB / 0.7321 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/1.207, allocations: 35.97 kB / 0.7321 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.207, allocations: 23.91 kB / 0.7322 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/1.207, allocations: 8.156 kB / 0.7322 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002603/1.207, allocations: 185.9 kB / 0.7323 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.207, allocations: 0 / 0.7323 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000686/1.208, allocations: 87.84 kB / 0.7324 GB, free: 6.395 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002746/1.21, allocations: 1.481 MB / 0.7339 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.212, allocations: 390.6 kB / 0.7342 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.212, allocations: 0 / 0.7342 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/1.213, allocations: 278.8 kB / 0.7345 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.214, allocations: 120.6 kB / 0.7346 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/1.223, allocations: 2.568 MB / 0.7371 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/1.224, allocations: 0.7753 MB / 0.7379 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004311/1.224, allocations: 54.25 kB / 0.7379 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.224, allocations: 75.41 kB / 0.738 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of SimCode: time 3.206e-06/1.224, allocations: 0 / 0.738 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/1.266, allocations: 7.828 MB / 0.7457 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005171/1.267, allocations: 235.3 kB / 0.7459 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.372, allocations: 3.938 kB / 0.7459 GB, free: 8.672 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/linux/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) Environment - environmentSimulation: