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.001656/0.001656, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002626/0.002626, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 64.03 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 80.94 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4785/0.6539, allocations: 161.5 MB / 0.7421 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.659, allocations: 3.48 MB / 0.7455 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.6594, allocations: 10.88 kB / 0.7455 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.6599, allocations: 127.7 kB / 0.7456 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.6614, allocations: 451 kB / 0.746 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.6633, allocations: 0.5919 MB / 0.7466 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.6642, allocations: 0.6171 MB / 0.7472 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.6647, allocations: 228.5 kB / 0.7474 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.666, allocations: 343.2 kB / 0.7477 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.6663, allocations: 185.5 kB / 0.7479 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.6663, allocations: 22 kB / 0.7479 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009832/0.6673, allocations: 0.5484 MB / 0.7485 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6674, allocations: 106.1 kB / 0.7486 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.6676, allocations: 138.1 kB / 0.7487 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.6684, allocations: 0.5412 MB / 0.7492 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6684, allocations: 4 kB / 0.7492 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6684, allocations: 6.5 kB / 0.7493 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6684, allocations: 0 / 0.7493 GB, free: 2.66 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.00107/0.6695, allocations: 0.6273 MB / 0.7499 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6696, allocations: 9.781 kB / 0.7499 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.6701, allocations: 84.66 kB / 0.75 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.6705, allocations: 287.1 kB / 0.7502 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.6705, allocations: 15.53 kB / 0.7502 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.6705, allocations: 17.41 kB / 0.7503 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.6711, allocations: 320.8 kB / 0.7506 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.6711, allocations: 2.156 kB / 0.7506 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.6712, allocations: 11.44 kB / 0.7506 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6712, allocations: 8.625 kB / 0.7506 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.6718, allocations: 248.1 kB / 0.7508 GB, free: 1.426 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.001506/0.6733, allocations: 1.245 MB / 0.752 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.6737, allocations: 179.5 kB / 0.7522 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.674, allocations: 124.2 kB / 0.7523 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.6746, allocations: 299.6 kB / 0.7526 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6746, allocations: 38.53 kB / 0.7527 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.6747, allocations: 6.844 kB / 0.7527 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.00218/0.6768, allocations: 0.5718 MB / 0.7532 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.6769, allocations: 54.88 kB / 0.7533 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.6771, allocations: 248.4 kB / 0.7535 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.6772, allocations: 29.7 kB / 0.7535 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6773, allocations: 168.5 kB / 0.7537 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.6773, allocations: 48.05 kB / 0.7537 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.6774, allocations: 42.73 kB / 0.7538 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6775, allocations: 331.9 kB / 0.7541 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.6778, allocations: 92.67 kB / 0.7542 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.6781, allocations: 144.5 kB / 0.7543 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.6787, allocations: 234.6 kB / 0.7545 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6787, allocations: 0 / 0.7545 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001125/0.6798, allocations: 356 kB / 0.7549 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6798, allocations: 8 kB / 0.7549 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6799, allocations: 4.672 kB / 0.7549 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.6805, allocations: 84.7 kB / 0.755 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.6807, allocations: 47.95 kB / 0.755 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6828, allocations: 1.73 MB / 0.7567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.6831, allocations: 31.81 kB / 0.7567 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.6831, allocations: 8.938 kB / 0.7568 GB, free: 11.94 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.0001618/0.6833, allocations: 155.3 kB / 0.7569 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.6833, allocations: 23.72 kB / 0.7569 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.6845, allocations: 367.9 kB / 0.7573 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6845, allocations: 0 / 0.7573 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.6845, allocations: 0 / 0.7573 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6845, allocations: 4 kB / 0.7573 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.6861, allocations: 0.7714 MB / 0.758 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6861, allocations: 0 / 0.758 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.6863, allocations: 31.97 kB / 0.7581 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.6867, allocations: 84.75 kB / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.6868, allocations: 15.92 kB / 0.7582 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.6886, allocations: 1.738 MB / 0.7599 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6887, allocations: 0 / 0.7599 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.6898, allocations: 454.4 kB / 0.7603 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.6899, allocations: 124.7 kB / 0.7604 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.6899, allocations: 3.938 kB / 0.7604 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.6902, allocations: 23.97 kB / 0.7604 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.6903, allocations: 19.98 kB / 0.7605 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.6903, allocations: 7.938 kB / 0.7605 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001504/0.6904, allocations: 186 kB / 0.7606 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6904, allocations: 0 / 0.7606 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004095/0.6909, allocations: 83.83 kB / 0.7607 GB, free: 7.602 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.0003519/0.6912, allocations: 154 kB / 0.7609 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009864/0.6922, allocations: 380.5 kB / 0.7612 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6922, allocations: 256 / 0.7612 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.6928, allocations: 259.5 kB / 0.7615 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.6935, allocations: 122.3 kB / 0.7616 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/0.6944, allocations: 0.5051 MB / 0.7621 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.6947, allocations: 0.7752 MB / 0.7628 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.6949, allocations: 62.17 kB / 0.7629 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.695, allocations: 19.44 kB / 0.7629 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.695, allocations: 4 kB / 0.7629 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of Templates: time 0.0112/0.7062, allocations: 5.923 MB / 0.7687 GB, free: 15.45 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)