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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009566/0.0009567, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007961/0.007961, allocations: 170.9 kB / 16.27 MB, free: 6.656 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.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7994/0.7994, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004017, allocations: 14.19 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.498, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1903/0.6883, allocations: 157.2 MB / 0.7372 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004987/0.6933, allocations: 3.467 MB / 0.7405 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.6937, allocations: 11.94 kB / 0.7405 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.6941, allocations: 107.3 kB / 0.7407 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.6954, allocations: 418.3 kB / 0.7411 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.6969, allocations: 0.5399 MB / 0.7416 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.6978, allocations: 0.8077 MB / 0.7424 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.6982, allocations: 192.6 kB / 0.7425 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.6997, allocations: 300.1 kB / 0.7428 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.7, allocations: 203.1 kB / 0.743 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.7001, allocations: 12 kB / 0.743 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.7012, allocations: 0.6312 MB / 0.7437 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.7013, allocations: 79.72 kB / 0.7437 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.7015, allocations: 153 kB / 0.7439 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.7023, allocations: 0.5608 MB / 0.7444 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7023, allocations: 0 / 0.7444 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7023, allocations: 0 / 0.7444 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.7024, allocations: 0 / 0.7444 GB, free: 11.27 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.001187/0.7036, allocations: 0.6014 MB / 0.745 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7036, allocations: 12.03 kB / 0.745 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.7042, allocations: 75.5 kB / 0.7451 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.7046, allocations: 293.2 kB / 0.7454 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.7047, allocations: 20.42 kB / 0.7454 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.7047, allocations: 24 kB / 0.7454 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.7054, allocations: 320.2 kB / 0.7457 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.7054, allocations: 0 / 0.7457 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.7054, allocations: 19.88 kB / 0.7457 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.7055, allocations: 8 kB / 0.7458 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.7062, allocations: 276.9 kB / 0.746 GB, free: 9.539 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.001669/0.7079, allocations: 1.26 MB / 0.7472 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.7083, allocations: 185 kB / 0.7474 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.7087, allocations: 140.8 kB / 0.7476 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.7093, allocations: 315.2 kB / 0.7479 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7093, allocations: 38.56 kB / 0.7479 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.7093, allocations: 0 / 0.7479 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002322/0.7117, allocations: 0.6238 MB / 0.7485 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.7117, allocations: 59.34 kB / 0.7486 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.712, allocations: 254.7 kB / 0.7488 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.712, allocations: 25.7 kB / 0.7488 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.7122, allocations: 168.2 kB / 0.749 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.7122, allocations: 47.2 kB / 0.749 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.7123, allocations: 25.72 kB / 0.7491 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7124, allocations: 330.8 kB / 0.7494 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.7128, allocations: 111.9 kB / 0.7495 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.7131, allocations: 156.1 kB / 0.7496 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.7138, allocations: 270.7 kB / 0.7499 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7138, allocations: 0 / 0.7499 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001274/0.7151, allocations: 393.8 kB / 0.7503 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7151, allocations: 7.984 kB / 0.7503 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7152, allocations: 4 kB / 0.7503 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.7158, allocations: 84.89 kB / 0.7504 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.716, allocations: 47.97 kB / 0.7504 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.7184, allocations: 1.621 MB / 0.752 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.7187, allocations: 39.8 kB / 0.752 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.7188, allocations: 15.98 kB / 0.752 GB, free: 2.938 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.0002069/0.719, allocations: 141.8 kB / 0.7522 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.7191, allocations: 23.72 kB / 0.7522 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.7204, allocations: 406.6 kB / 0.7526 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7204, allocations: 0 / 0.7526 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7204, allocations: 3.984 kB / 0.7526 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7204, allocations: 0 / 0.7526 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.7223, allocations: 0.8019 MB / 0.7534 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7223, allocations: 4.031 kB / 0.7534 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.7225, allocations: 47.95 kB / 0.7534 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.723, allocations: 92.77 kB / 0.7535 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.7231, allocations: 4 kB / 0.7535 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.7251, allocations: 1.629 MB / 0.7551 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7251, allocations: 7.969 kB / 0.7551 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7263, allocations: 482.4 kB / 0.7556 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7265, allocations: 120.8 kB / 0.7557 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.7265, allocations: 8 kB / 0.7557 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.7269, allocations: 35.95 kB / 0.7557 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.7269, allocations: 15.92 kB / 0.7557 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.727, allocations: 12 kB / 0.7558 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001804/0.7272, allocations: 186 kB / 0.7559 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7272, allocations: 0 / 0.7559 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004706/0.7277, allocations: 83.83 kB / 0.756 GB, free: 14.59 MB / 0.5919 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.0004045/0.7281, allocations: 158.3 kB / 0.7562 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.7292, allocations: 394.6 kB / 0.7565 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7293, allocations: 0 / 0.7565 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.7299, allocations: 282.6 kB / 0.7568 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.7308, allocations: 122.8 kB / 0.7569 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.7318, allocations: 0.5927 MB / 0.7575 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.7322, allocations: 0.7752 MB / 0.7583 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.7324, allocations: 62.23 kB / 0.7583 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.7325, allocations: 19.44 kB / 0.7583 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7325, allocations: 0 / 0.7583 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.01078/0.7433, allocations: 5.499 MB / 0.7637 GB, free: 6.723 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)