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.001084/0.001089, allocations: 102.7 kB / 16.35 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.001505/0.001505, allocations: 193.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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7843/0.7843, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3506, allocations: 80.91 MB / 0.5858 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1587/0.5093, allocations: 161.5 MB / 0.7435 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00456/0.5139, allocations: 3.494 MB / 0.7469 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.5142, allocations: 7.938 kB / 0.7469 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.5146, allocations: 131 kB / 0.747 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.5157, allocations: 449.9 kB / 0.7474 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.5172, allocations: 0.5913 MB / 0.748 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.5178, allocations: 0.6244 MB / 0.7486 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.5182, allocations: 232.6 kB / 0.7488 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.5193, allocations: 339.3 kB / 0.7492 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.5196, allocations: 195.1 kB / 0.7493 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.5196, allocations: 24 kB / 0.7494 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008867/0.5205, allocations: 0.5534 MB / 0.7499 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.5206, allocations: 91.72 kB / 0.75 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5208, allocations: 139.3 kB / 0.7501 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.5215, allocations: 0.557 MB / 0.7507 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5216, allocations: 4 kB / 0.7507 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5216, allocations: 0 / 0.7507 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5216, allocations: 0 / 0.7507 GB, free: 1.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.001016/0.5226, allocations: 0.6272 MB / 0.7513 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.5226, allocations: 13.11 kB / 0.7513 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.5232, allocations: 75.56 kB / 0.7514 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.5236, allocations: 309.2 kB / 0.7517 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5236, allocations: 16.44 kB / 0.7517 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.5237, allocations: 20 kB / 0.7517 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2771/0.8008, allocations: 306.3 kB / 0.752 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.8008, allocations: 2.812 kB / 0.752 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.8009, allocations: 8.938 kB / 0.752 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.8009, allocations: 5.125 kB / 0.752 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.8016, allocations: 253.3 kB / 0.7523 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.001576/0.8031, allocations: 1.237 MB / 0.7535 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.8036, allocations: 180 kB / 0.7536 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.8039, allocations: 122.8 kB / 0.7538 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.8044, allocations: 308 kB / 0.754 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.8045, allocations: 33.31 kB / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.8045, allocations: 0 / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002224/0.8067, allocations: 0.5753 MB / 0.7546 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.8068, allocations: 52.59 kB / 0.7547 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.807, allocations: 252.5 kB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.807, allocations: 31.45 kB / 0.755 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.8071, allocations: 164.4 kB / 0.7551 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.8072, allocations: 54.28 kB / 0.7552 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.8073, allocations: 35.27 kB / 0.7552 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.8073, allocations: 339.6 kB / 0.7555 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.8077, allocations: 94.08 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.808, allocations: 138.3 kB / 0.7557 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.8086, allocations: 246.2 kB / 0.756 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.8086, allocations: 0 / 0.756 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001181/0.8098, allocations: 345.3 kB / 0.7563 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.8098, allocations: 7.312 kB / 0.7563 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8098, allocations: 2.328 kB / 0.7563 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.8105, allocations: 88.73 kB / 0.7564 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.8107, allocations: 43.11 kB / 0.7564 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.8127, allocations: 1.729 MB / 0.7581 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.813, allocations: 38.64 kB / 0.7582 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.813, allocations: 5.719 kB / 0.7582 GB, free: 163.5 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.0001443/0.8132, allocations: 147.7 kB / 0.7583 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.8132, allocations: 24.34 kB / 0.7583 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.8143, allocations: 358.8 kB / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8144, allocations: 3.25 kB / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.8144, allocations: 0 / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8144, allocations: 4.719 kB / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.8161, allocations: 0.7812 MB / 0.7595 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8161, allocations: 1.594 kB / 0.7595 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.8163, allocations: 36.25 kB / 0.7595 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/0.8167, allocations: 80.89 kB / 0.7596 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.8167, allocations: 5.719 kB / 0.7596 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.8184, allocations: 1.74 MB / 0.7613 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8185, allocations: 5.156 kB / 0.7613 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8197, allocations: 452.7 kB / 0.7617 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.8199, allocations: 126.7 kB / 0.7618 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.8199, allocations: 5.938 kB / 0.7618 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.8202, allocations: 24.28 kB / 0.7619 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8203, allocations: 19.25 kB / 0.7619 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.8204, allocations: 7.562 kB / 0.7619 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002885/0.8207, allocations: 183.5 kB / 0.7621 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.022e-06/0.8207, allocations: 0.5 kB / 0.7621 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005747/0.8212, allocations: 84.89 kB / 0.7621 GB, free: 160.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.000509/0.8218, allocations: 161.4 kB / 0.7623 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.8229, allocations: 367 kB / 0.7626 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8229, allocations: 0.6875 kB / 0.7626 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.8235, allocations: 256.8 kB / 0.7629 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.8242, allocations: 122.3 kB / 0.763 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.8253, allocations: 0.498 MB / 0.7635 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8256, allocations: 0.7656 MB / 0.7642 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.8258, allocations: 63.78 kB / 0.7643 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.8259, allocations: 20.41 kB / 0.7643 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.8259, allocations: 0 / 0.7643 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.009024/0.8349, allocations: 5.943 MB / 0.7701 GB, free: 154.6 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)