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.001372/0.001372, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001716/0.001716, allocations: 187.8 kB / 16.25 MB, free: 6.586 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9851/0.9851, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.27 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1783, allocations: 80.93 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5051/0.6834, allocations: 159.2 MB / 0.7394 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005527/0.689, allocations: 3.464 MB / 0.7428 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.6896, allocations: 14.66 kB / 0.7428 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.6903, allocations: 110.9 kB / 0.7429 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.6919, allocations: 424.5 kB / 0.7433 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6939, allocations: 0.5428 MB / 0.7438 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.695, allocations: 0.6258 MB / 0.7444 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.6956, allocations: 222.7 kB / 0.7447 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.6977, allocations: 349.2 kB / 0.745 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.6981, allocations: 199.1 kB / 0.7452 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.6982, allocations: 22.16 kB / 0.7452 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.6996, allocations: 0.5718 MB / 0.7458 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.6998, allocations: 97.95 kB / 0.7459 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.7001, allocations: 143.3 kB / 0.746 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.7015, allocations: 0.5803 MB / 0.7466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.7015, allocations: 4 kB / 0.7466 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7015, allocations: 0 / 0.7466 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.7015, allocations: 0 / 0.7466 GB, free: 5.223 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.001381/0.7029, allocations: 0.6262 MB / 0.7472 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.703, allocations: 13.88 kB / 0.7472 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.7036, allocations: 78.92 kB / 0.7473 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.704, allocations: 290.4 kB / 0.7475 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.704, allocations: 16.44 kB / 0.7476 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.7041, allocations: 17.34 kB / 0.7476 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.7048, allocations: 317.4 kB / 0.7479 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7048, allocations: 0 / 0.7479 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.7048, allocations: 10.25 kB / 0.7479 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.7049, allocations: 9.594 kB / 0.7479 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.7056, allocations: 245.7 kB / 0.7481 GB, free: 3.996 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.001743/0.7073, allocations: 1.249 MB / 0.7493 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.7078, allocations: 176.8 kB / 0.7495 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.7081, allocations: 119.7 kB / 0.7496 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.7088, allocations: 308 kB / 0.7499 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.7088, allocations: 34.56 kB / 0.75 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/0.7088, allocations: 3.938 kB / 0.75 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002406/0.7112, allocations: 0.567 MB / 0.7505 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.7113, allocations: 51.41 kB / 0.7506 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.7115, allocations: 254.4 kB / 0.7508 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.7116, allocations: 32.52 kB / 0.7508 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7117, allocations: 165 kB / 0.751 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.7118, allocations: 48.62 kB / 0.751 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.7118, allocations: 46.92 kB / 0.7511 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.712, allocations: 334.1 kB / 0.7514 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.7123, allocations: 95.92 kB / 0.7515 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.7126, allocations: 139.2 kB / 0.7516 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.7132, allocations: 239 kB / 0.7519 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7132, allocations: 3.469 kB / 0.7519 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001219/0.7144, allocations: 356.2 kB / 0.7522 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7145, allocations: 12 kB / 0.7522 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7145, allocations: 0.625 kB / 0.7522 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/0.7152, allocations: 88.83 kB / 0.7523 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.7154, allocations: 43.89 kB / 0.7523 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.7178, allocations: 1.722 MB / 0.754 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.7181, allocations: 39.88 kB / 0.7541 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7182, allocations: 4 kB / 0.7541 GB, free: 14.64 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.0002029/0.7184, allocations: 152.3 kB / 0.7542 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.7185, allocations: 23.72 kB / 0.7542 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.7197, allocations: 368 kB / 0.7546 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7197, allocations: 0 / 0.7546 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.7197, allocations: 0 / 0.7546 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7197, allocations: 0 / 0.7546 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.7215, allocations: 0.7785 MB / 0.7553 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.7215, allocations: 0 / 0.7553 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.7218, allocations: 36.06 kB / 0.7554 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.7222, allocations: 80.7 kB / 0.7555 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.7223, allocations: 12 kB / 0.7555 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.7243, allocations: 1.743 MB / 0.7572 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7243, allocations: 0 / 0.7572 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.7255, allocations: 455.4 kB / 0.7576 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.7257, allocations: 120.7 kB / 0.7577 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.7258, allocations: 11.94 kB / 0.7577 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.726, allocations: 27.88 kB / 0.7578 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.7261, allocations: 19.97 kB / 0.7578 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.7262, allocations: 8 kB / 0.7578 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001942/0.7264, allocations: 182 kB / 0.758 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7264, allocations: 0 / 0.758 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004653/0.7268, allocations: 87.94 kB / 0.758 GB, free: 10.3 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.0004241/0.7273, allocations: 153.9 kB / 0.7582 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.7284, allocations: 368.8 kB / 0.7585 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7284, allocations: 0 / 0.7585 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.729, allocations: 260.8 kB / 0.7588 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008045/0.7298, allocations: 131.1 kB / 0.7589 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.7309, allocations: 0.5875 MB / 0.7595 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.7313, allocations: 0.7752 MB / 0.7602 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002558/0.7315, allocations: 54.2 kB / 0.7603 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.7316, allocations: 23.44 kB / 0.7603 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.7316, allocations: 0 / 0.7603 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.01201/0.7436, allocations: 5.763 MB / 0.7659 GB, free: 2.227 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)