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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001417/0.001417, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7915/0.7915, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 63.91 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3653, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1607/0.5261, allocations: 161.5 MB / 0.7435 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.5306, allocations: 3.486 MB / 0.7469 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.5309, allocations: 11.88 kB / 0.7469 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.5314, allocations: 131 kB / 0.747 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.5327, allocations: 453.9 kB / 0.7474 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.5341, allocations: 0.5872 MB / 0.748 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.5347, allocations: 0.6244 MB / 0.7486 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.5351, allocations: 220.5 kB / 0.7488 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.5362, allocations: 349.7 kB / 0.7492 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.5364, allocations: 195.2 kB / 0.7493 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5365, allocations: 24 kB / 0.7494 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.5373, allocations: 0.5495 MB / 0.7499 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.5374, allocations: 99.69 kB / 0.75 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.5376, allocations: 135.3 kB / 0.7501 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.5383, allocations: 0.557 MB / 0.7507 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5383, allocations: 0 / 0.7507 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5383, allocations: 0 / 0.7507 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5383, allocations: 0 / 0.7507 GB, free: 1.129 MB / 0.5762 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.0009655/0.5393, allocations: 0.635 MB / 0.7513 GB, free: 456 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5393, allocations: 9.109 kB / 0.7513 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.5398, allocations: 67.58 kB / 0.7514 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.5403, allocations: 317.2 kB / 0.7517 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5403, allocations: 12.44 kB / 0.7517 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3368/0.8771, allocations: 17.08 kB / 0.7517 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.8781, allocations: 309 kB / 0.752 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.8781, allocations: 2.906 kB / 0.752 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.8782, allocations: 13.75 kB / 0.752 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.8782, allocations: 7.625 kB / 0.752 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.879, allocations: 247.1 kB / 0.7522 GB, free: 167.7 MB / 0.5762 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.001705/0.8807, allocations: 1.242 MB / 0.7535 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.8811, allocations: 174.5 kB / 0.7536 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.8815, allocations: 121.7 kB / 0.7537 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/0.882, allocations: 304.8 kB / 0.754 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.882, allocations: 36.91 kB / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.882, allocations: 0 / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002267/0.8843, allocations: 0.5713 MB / 0.7546 GB, free: 166 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.8844, allocations: 53.41 kB / 0.7547 GB, free: 166 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.8846, allocations: 253.7 kB / 0.7549 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.8847, allocations: 31.8 kB / 0.755 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.8848, allocations: 166.5 kB / 0.7551 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.8848, allocations: 49.42 kB / 0.7552 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.8849, allocations: 38.81 kB / 0.7552 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.885, allocations: 339.1 kB / 0.7555 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.8853, allocations: 100.3 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.8856, allocations: 137.3 kB / 0.7557 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.8862, allocations: 239.7 kB / 0.756 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8862, allocations: 1.453 kB / 0.756 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001188/0.8874, allocations: 347.8 kB / 0.7563 GB, free: 165 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8874, allocations: 7.156 kB / 0.7563 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8874, allocations: 10.81 kB / 0.7563 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.8881, allocations: 87.48 kB / 0.7564 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.8883, allocations: 48 kB / 0.7565 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.8903, allocations: 1.717 MB / 0.7581 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.8906, allocations: 33 kB / 0.7582 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.8906, allocations: 6 kB / 0.7582 GB, free: 163.4 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.0001706/0.8908, allocations: 157.3 kB / 0.7583 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.8909, allocations: 24.41 kB / 0.7583 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.892, allocations: 352.9 kB / 0.7587 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.892, allocations: 5.953 kB / 0.7587 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8921, allocations: 3.938 kB / 0.7587 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8921, allocations: 4.531 kB / 0.7587 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.8937, allocations: 0.7812 MB / 0.7595 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8937, allocations: 5.609 kB / 0.7595 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8939, allocations: 32.88 kB / 0.7595 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.8943, allocations: 79.72 kB / 0.7596 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.8943, allocations: 6.094 kB / 0.7596 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.8961, allocations: 1.753 MB / 0.7613 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8961, allocations: 1.75 kB / 0.7613 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8973, allocations: 448.5 kB / 0.7617 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.8974, allocations: 119 kB / 0.7618 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.8974, allocations: 6.234 kB / 0.7618 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.8977, allocations: 26.56 kB / 0.7619 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.8978, allocations: 15.95 kB / 0.7619 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.8978, allocations: 5.25 kB / 0.7619 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001917/0.898, allocations: 183.5 kB / 0.7621 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.898, allocations: 2.375 kB / 0.7621 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004905/0.8985, allocations: 88.06 kB / 0.7621 GB, free: 160.2 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.0004355/0.899, allocations: 170.9 kB / 0.7623 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.9, allocations: 362.1 kB / 0.7626 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9, allocations: 0.5312 kB / 0.7626 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.9006, allocations: 256.6 kB / 0.7629 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.9014, allocations: 129.4 kB / 0.763 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.9024, allocations: 497.2 kB / 0.7635 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.9026, allocations: 0.7707 MB / 0.7642 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.9028, allocations: 58.72 kB / 0.7643 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.9029, allocations: 27.62 kB / 0.7643 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.9029, allocations: 1.438 kB / 0.7643 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.009848/0.9128, allocations: 5.931 MB / 0.7701 GB, free: 154.3 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)