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.008639/0.008639, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001735/0.001735, allocations: 184.9 kB / 16.67 MB, free: 6.367 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.5852 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4498, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1721/0.622, allocations: 161.5 MB / 0.8219 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005339/0.6274, allocations: 3.494 MB / 0.8253 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.6279, allocations: 15.94 kB / 0.8253 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.6285, allocations: 127 kB / 0.8254 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6299, allocations: 453.9 kB / 0.8258 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.6315, allocations: 0.5941 MB / 0.8264 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000842/0.6323, allocations: 0.6206 MB / 0.827 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.6328, allocations: 232.6 kB / 0.8273 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.6341, allocations: 354.5 kB / 0.8276 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.6345, allocations: 191.3 kB / 0.8278 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.6345, allocations: 23.94 kB / 0.8278 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009389/0.6355, allocations: 0.5495 MB / 0.8283 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.6356, allocations: 91.78 kB / 0.8284 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.6358, allocations: 147.2 kB / 0.8286 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009648/0.6367, allocations: 0.5531 MB / 0.8291 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6367, allocations: 0 / 0.8291 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6368, allocations: 0 / 0.8291 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.6368, allocations: 0 / 0.8291 GB, free: 8.102 MB / 0.6544 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.001071/0.6378, allocations: 0.6311 MB / 0.8297 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6379, allocations: 8.031 kB / 0.8297 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.638, allocations: 62.53 kB / 0.8298 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.6385, allocations: 63.67 kB / 0.8298 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.6389, allocations: 309.2 kB / 0.8301 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.639, allocations: 16.44 kB / 0.8302 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.639, allocations: 16 kB / 0.8302 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.6396, allocations: 328.1 kB / 0.8305 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6397, allocations: 0 / 0.8305 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6397, allocations: 12 kB / 0.8305 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6397, allocations: 4 kB / 0.8305 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.6404, allocations: 248.9 kB / 0.8307 GB, free: 6.305 MB / 0.6544 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.001599/0.642, allocations: 1.236 MB / 0.8319 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.6424, allocations: 178.5 kB / 0.8321 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.6427, allocations: 124.8 kB / 0.8322 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/0.6433, allocations: 307.2 kB / 0.8325 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6434, allocations: 34.56 kB / 0.8326 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.6434, allocations: 0 / 0.8326 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002183/0.6455, allocations: 0.5711 MB / 0.8331 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.6456, allocations: 55.41 kB / 0.8332 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.6458, allocations: 250.7 kB / 0.8334 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.6459, allocations: 29.7 kB / 0.8334 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.646, allocations: 176 kB / 0.8336 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.646, allocations: 43.3 kB / 0.8336 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.6461, allocations: 41.7 kB / 0.8337 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6462, allocations: 330.8 kB / 0.834 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.6465, allocations: 95.92 kB / 0.8341 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.6469, allocations: 138.2 kB / 0.8342 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.6474, allocations: 236.1 kB / 0.8345 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.6475, allocations: 4 kB / 0.8345 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001146/0.6486, allocations: 356.5 kB / 0.8348 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6486, allocations: 4 kB / 0.8348 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6487, allocations: 8 kB / 0.8348 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.6492, allocations: 84.89 kB / 0.8349 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.6495, allocations: 47.89 kB / 0.8349 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.6516, allocations: 1.723 MB / 0.8366 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.6518, allocations: 35.81 kB / 0.8367 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.6519, allocations: 8 kB / 0.8367 GB, free: 15.8 MB / 0.67 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.0001686/0.652, allocations: 145.8 kB / 0.8368 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.6521, allocations: 27.66 kB / 0.8368 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.6533, allocations: 367.9 kB / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6533, allocations: 0 / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.6533, allocations: 0 / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6533, allocations: 4 kB / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.6549, allocations: 0.7708 MB / 0.8379 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.655, allocations: 3.938 kB / 0.8379 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6552, allocations: 31.97 kB / 0.838 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.6556, allocations: 84.81 kB / 0.838 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.6556, allocations: 11.94 kB / 0.8381 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.6575, allocations: 1.743 MB / 0.8398 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6575, allocations: 0 / 0.8398 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6587, allocations: 454 kB / 0.8402 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.6588, allocations: 124.7 kB / 0.8403 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.6589, allocations: 8 kB / 0.8403 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6591, allocations: 19.97 kB / 0.8403 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.6592, allocations: 19.98 kB / 0.8404 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.6593, allocations: 7.938 kB / 0.8404 GB, free: 11.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001769/0.6594, allocations: 189.9 kB / 0.8405 GB, free: 11.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6594, allocations: 0 / 0.8405 GB, free: 11.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004495/0.6599, allocations: 87.83 kB / 0.8406 GB, free: 11.46 MB / 0.67 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.001769/0.6617, allocations: 1.042 MB / 0.8416 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.6627, allocations: 358.7 kB / 0.842 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6628, allocations: 0 / 0.842 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.6634, allocations: 258.7 kB / 0.8422 GB, free: 9.758 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.6641, allocations: 127.2 kB / 0.8424 GB, free: 9.637 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.6691, allocations: 2.801 MB / 0.8451 GB, free: 6.715 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.6694, allocations: 0.7675 MB / 0.8458 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.6697, allocations: 62.19 kB / 0.8459 GB, free: 5.859 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.6698, allocations: 75.41 kB / 0.846 GB, free: 5.785 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.6698, allocations: 4 kB / 0.846 GB, free: 5.781 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.7062, allocations: 8.818 MB / 0.8546 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.23, allocations: 12.3 kB / 0.8546 GB, free: 13.14 MB / 0.6856 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)