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.001088/0.001088, allocations: 98.03 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.008753/0.008753, allocations: 168.9 kB / 16.26 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004394, allocations: 8 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 82.3 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.507/0.7047, allocations: 177.2 MB / 0.761 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006608/0.7113, allocations: 4.431 MB / 0.7653 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.7121, allocations: 15.88 kB / 0.7653 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.7129, allocations: 190.7 kB / 0.7655 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.7149, allocations: 0.7039 MB / 0.7662 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.7186, allocations: 1.412 MB / 0.7676 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.7206, allocations: 1.696 MB / 0.7692 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.7213, allocations: 374.8 kB / 0.7696 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.7223, allocations: 0.5019 MB / 0.7701 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.7228, allocations: 418.2 kB / 0.7705 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.7229, allocations: 28 kB / 0.7705 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.7261, allocations: 1.804 MB / 0.7723 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.7264, allocations: 167.5 kB / 0.7724 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.7268, allocations: 312.1 kB / 0.7727 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.7291, allocations: 1.379 MB / 0.7741 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7291, allocations: 0 / 0.7741 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7291, allocations: 0 / 0.7741 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.7291, allocations: 0 / 0.7741 GB, free: 13.84 MB / 0.5919 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.001801/0.7309, allocations: 0.9377 MB / 0.775 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.731, allocations: 12.03 kB / 0.775 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.7331, allocations: 283 kB / 0.7753 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.7339, allocations: 441.5 kB / 0.7757 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.7339, allocations: 32.98 kB / 0.7757 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.734, allocations: 44 kB / 0.7758 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7351, allocations: 0.5625 MB / 0.7763 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.7352, allocations: 4 kB / 0.7763 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.7352, allocations: 19.94 kB / 0.7763 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.7352, allocations: 11.98 kB / 0.7763 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.7364, allocations: 495.5 kB / 0.7768 GB, free: 10.9 MB / 0.5919 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.002697/0.7391, allocations: 2.127 MB / 0.7789 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.7401, allocations: 442.4 kB / 0.7793 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.7407, allocations: 240.7 kB / 0.7795 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.7414, allocations: 412.3 kB / 0.7799 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.7421, allocations: 309.5 kB / 0.7802 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.7421, allocations: 0 / 0.7802 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001966/0.744, allocations: 0.7398 MB / 0.781 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7441, allocations: 59.41 kB / 0.781 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.7448, allocations: 498.1 kB / 0.7815 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.7449, allocations: 33.7 kB / 0.7815 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.7451, allocations: 260.1 kB / 0.7818 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.7453, allocations: 126.2 kB / 0.7819 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.7453, allocations: 37.7 kB / 0.7819 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7455, allocations: 370.8 kB / 0.7823 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.7461, allocations: 212.8 kB / 0.7825 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.7468, allocations: 332 kB / 0.7828 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7479, allocations: 0.5799 MB / 0.7834 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7479, allocations: 0 / 0.7834 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001626/0.7496, allocations: 0.6844 MB / 0.784 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/0.7497, allocations: 59.41 kB / 0.7841 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7497, allocations: 4 kB / 0.7841 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.7497, allocations: 4 kB / 0.7841 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.7502, allocations: 99.88 kB / 0.7842 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.7503, allocations: 24.11 kB / 0.7842 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.751, allocations: 87.39 kB / 0.7843 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.7511, allocations: 20 kB / 0.7843 GB, free: 2.812 MB / 0.5919 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.00033/0.7514, allocations: 200.4 kB / 0.7845 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.7515, allocations: 59.33 kB / 0.7846 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.753, allocations: 0.5679 MB / 0.7851 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.753, allocations: 8 kB / 0.7851 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.753, allocations: 0 / 0.7851 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.753, allocations: 3.984 kB / 0.7851 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.7556, allocations: 1.385 MB / 0.7865 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.7556, allocations: 7.938 kB / 0.7865 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.7561, allocations: 79.89 kB / 0.7866 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.7561, allocations: 4 kB / 0.7866 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.7561, allocations: 12.28 kB / 0.7866 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.7561, allocations: 15.92 kB / 0.7866 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7562, allocations: 4 kB / 0.7866 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7581, allocations: 0.9911 MB / 0.7876 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.7584, allocations: 176.3 kB / 0.7877 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7585, allocations: 8 kB / 0.7877 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.759, allocations: 48.02 kB / 0.7878 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.7592, allocations: 55.81 kB / 0.7878 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.7592, allocations: 17.31 kB / 0.7879 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004739/0.7597, allocations: 346.8 kB / 0.7882 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7597, allocations: 0 / 0.7882 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007045/0.7604, allocations: 151.8 kB / 0.7883 GB, free: 14.5 MB / 0.6075 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.0005245/0.761, allocations: 194.4 kB / 0.7885 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.7624, allocations: 0.6117 MB / 0.7891 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.7624, allocations: 4 kB / 0.7891 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007325/0.7631, allocations: 308 kB / 0.7894 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.7651, allocations: 275.8 kB / 0.7897 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.7675, allocations: 1.257 MB / 0.7909 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.768, allocations: 0.8629 MB / 0.7917 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006357/0.7687, allocations: 124.7 kB / 0.7919 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.7688, allocations: 47.38 kB / 0.7919 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of SimCode: time 6.82e-07/0.7689, allocations: 4 kB / 0.7919 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.02147/0.7903, allocations: 10.14 MB / 0.8018 GB, free: 0.7734 MB / 0.6075 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)