Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001279/0.001279, allocations: 187 kB / 17.34 MB, free: 5.762 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.301/1.301, 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.7475/0.7475, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.62 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 80.93 MB / 0.6653 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6207/0.7792, allocations: 181.8 MB / 0.8428 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006472/0.7857, allocations: 4.445 MB / 0.8472 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.7865, allocations: 17.88 kB / 0.8472 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.7873, allocations: 257.6 kB / 0.8474 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.7894, allocations: 0.7953 MB / 0.8482 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.7932, allocations: 1.551 MB / 0.8497 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.7946, allocations: 1.261 MB / 0.851 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.7952, allocations: 447.4 kB / 0.8514 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009581/0.7962, allocations: 0.5845 MB / 0.8519 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.7966, allocations: 406.9 kB / 0.8523 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.7967, allocations: 49.39 kB / 0.8524 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.7993, allocations: 1.551 MB / 0.8539 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.7995, allocations: 198.1 kB / 0.8541 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.7999, allocations: 301.3 kB / 0.8544 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.8021, allocations: 1.315 MB / 0.8557 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8021, allocations: 1.906 kB / 0.8557 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8021, allocations: 0 / 0.8557 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.8021, allocations: 0 / 0.8557 GB, free: 11.17 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001774/0.8039, allocations: 1.023 MB / 0.8567 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.804, allocations: 11.17 kB / 0.8567 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.806, allocations: 281 kB / 0.8569 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.8068, allocations: 467.5 kB / 0.8574 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.8068, allocations: 34.94 kB / 0.8574 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.8069, allocations: 41.44 kB / 0.8575 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/0.8079, allocations: 0.5484 MB / 0.858 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.8079, allocations: 3.938 kB / 0.858 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.808, allocations: 25.14 kB / 0.858 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.808, allocations: 14.12 kB / 0.858 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.809, allocations: 454 kB / 0.8585 GB, free: 9.176 MB / 0.6231 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.002391/0.8114, allocations: 2.117 MB / 0.8605 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009643/0.8124, allocations: 414.9 kB / 0.8609 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.8129, allocations: 220.7 kB / 0.8611 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.8135, allocations: 400.3 kB / 0.8615 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/0.8142, allocations: 287.1 kB / 0.8618 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 3.937e-06/0.8142, allocations: 0 / 0.8618 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001787/0.816, allocations: 0.69 MB / 0.8625 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.816, allocations: 63.41 kB / 0.8625 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.8166, allocations: 494.1 kB / 0.863 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.8166, allocations: 37.7 kB / 0.863 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.8168, allocations: 260 kB / 0.8633 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.8169, allocations: 126.3 kB / 0.8634 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.8171, allocations: 90.03 kB / 0.8635 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8172, allocations: 362.8 kB / 0.8638 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.8177, allocations: 208.8 kB / 0.864 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.8183, allocations: 311.2 kB / 0.8643 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.8193, allocations: 0.5449 MB / 0.8649 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8193, allocations: 4 kB / 0.8649 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001258/0.8205, allocations: 0.6442 MB / 0.8655 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.8206, allocations: 63.39 kB / 0.8656 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8206, allocations: 0 / 0.8656 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.8206, allocations: 8 kB / 0.8656 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.8211, allocations: 100.1 kB / 0.8657 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8211, allocations: 12 kB / 0.8657 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.8217, allocations: 80.88 kB / 0.8658 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.8217, allocations: 20 kB / 0.8658 GB, free: 1.516 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.822, allocations: 197.6 kB / 0.866 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.8221, allocations: 55.33 kB / 0.866 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.8233, allocations: 0.534 MB / 0.8665 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8233, allocations: 4 kB / 0.8665 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8233, allocations: 3.984 kB / 0.8665 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8233, allocations: 0 / 0.8665 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.8256, allocations: 1.358 MB / 0.8679 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8256, allocations: 4.438 kB / 0.8679 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.826, allocations: 79.83 kB / 0.8679 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.826, allocations: 4 kB / 0.868 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.8261, allocations: 16 kB / 0.868 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.8261, allocations: 7.984 kB / 0.868 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8261, allocations: 4 kB / 0.868 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.8278, allocations: 0.9287 MB / 0.8689 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.828, allocations: 172.4 kB / 0.869 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.8281, allocations: 15.94 kB / 0.8691 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.8286, allocations: 35.89 kB / 0.8691 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.8287, allocations: 47.89 kB / 0.8691 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.8288, allocations: 16.06 kB / 0.8692 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004247/0.8292, allocations: 350.8 kB / 0.8695 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8292, allocations: 0 / 0.8695 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006334/0.8298, allocations: 151.8 kB / 0.8696 GB, free: 13.36 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004827/0.8303, allocations: 205.3 kB / 0.8698 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.8316, allocations: 0.5803 MB / 0.8704 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8316, allocations: 0.75 kB / 0.8704 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.8322, allocations: 263.8 kB / 0.8707 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.8337, allocations: 287.6 kB / 0.8709 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.8356, allocations: 1.08 MB / 0.872 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.8361, allocations: 0.8704 MB / 0.8728 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.8363, allocations: 43.44 kB / 0.8729 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.8363, allocations: 4 kB / 0.8729 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of Templates: time 0.0143/0.8506, allocations: 9.08 MB / 0.8817 GB, free: 0.9297 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)