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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8906/0.8906, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.38 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3866/0.5095, allocations: 181.8 MB / 0.762 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.5148, allocations: 4.445 MB / 0.7663 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.5154, allocations: 23.81 kB / 0.7663 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.516, allocations: 246.1 kB / 0.7666 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5177, allocations: 0.7619 MB / 0.7673 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.5207, allocations: 1.51 MB / 0.7688 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.5219, allocations: 1.256 MB / 0.77 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.5224, allocations: 449.3 kB / 0.7704 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.5232, allocations: 0.5721 MB / 0.771 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.5236, allocations: 406.3 kB / 0.7714 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.591e-05/0.5237, allocations: 44 kB / 0.7714 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.526, allocations: 1.547 MB / 0.7729 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.5263, allocations: 179.5 kB / 0.7731 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.5265, allocations: 310.5 kB / 0.7734 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5282, allocations: 1.297 MB / 0.7747 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5282, allocations: 0 / 0.7747 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5282, allocations: 0 / 0.7747 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5282, allocations: 0 / 0.7747 GB, free: 10.06 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.001636/0.5299, allocations: 1.021 MB / 0.7757 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5299, allocations: 8.031 kB / 0.7757 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.905e-05/0.53, allocations: 86.45 kB / 0.7758 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.532, allocations: 284.7 kB / 0.776 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.5326, allocations: 441.5 kB / 0.7765 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.5326, allocations: 33 kB / 0.7765 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.5327, allocations: 44 kB / 0.7765 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/0.5337, allocations: 0.5507 MB / 0.7771 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5337, allocations: 3.938 kB / 0.7771 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.5337, allocations: 23.94 kB / 0.7771 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5338, allocations: 16 kB / 0.7771 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5348, allocations: 455.5 kB / 0.7775 GB, free: 6.988 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.00246/0.5373, allocations: 2.116 MB / 0.7796 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.5383, allocations: 416.7 kB / 0.78 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.5387, allocations: 228.7 kB / 0.7802 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.5394, allocations: 400.3 kB / 0.7806 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.54, allocations: 293.6 kB / 0.7809 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.54, allocations: 0 / 0.7809 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001785/0.5418, allocations: 0.6774 MB / 0.7815 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5419, allocations: 67.39 kB / 0.7816 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.5424, allocations: 0.4902 MB / 0.7821 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.5424, allocations: 37.7 kB / 0.7821 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.5426, allocations: 256.1 kB / 0.7824 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.5427, allocations: 126.1 kB / 0.7825 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.5429, allocations: 90.12 kB / 0.7826 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.543, allocations: 366.8 kB / 0.7829 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.5435, allocations: 196.8 kB / 0.7831 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.544, allocations: 316 kB / 0.7834 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.545, allocations: 0.5486 MB / 0.784 GB, free: 52 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.545, allocations: 0 / 0.784 GB, free: 52 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00129/0.5463, allocations: 0.653 MB / 0.7846 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.5464, allocations: 59.41 kB / 0.7846 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5464, allocations: 0 / 0.7846 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5464, allocations: 11.94 kB / 0.7847 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.5469, allocations: 96.16 kB / 0.7847 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.5469, allocations: 15.98 kB / 0.7848 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.5474, allocations: 75.39 kB / 0.7848 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.5475, allocations: 20 kB / 0.7849 GB, free: 15.1 MB / 0.6075 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.0002211/0.5477, allocations: 200.2 kB / 0.785 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.5478, allocations: 51.34 kB / 0.7851 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.5489, allocations: 0.538 MB / 0.7856 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.549, allocations: 4 kB / 0.7856 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.549, allocations: 4 kB / 0.7856 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.549, allocations: 0 / 0.7856 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.5511, allocations: 1.347 MB / 0.7869 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5511, allocations: 4.031 kB / 0.7869 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.5515, allocations: 83.88 kB / 0.787 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5515, allocations: 4 kB / 0.787 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.5515, allocations: 12 kB / 0.787 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5515, allocations: 11.06 kB / 0.7871 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5516, allocations: 4 kB / 0.7871 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5532, allocations: 0.9364 MB / 0.788 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.5533, allocations: 168.3 kB / 0.7881 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5534, allocations: 19.98 kB / 0.7882 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.5539, allocations: 31.97 kB / 0.7882 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.554, allocations: 55.88 kB / 0.7882 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.554, allocations: 16 kB / 0.7883 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003922/0.5544, allocations: 342.8 kB / 0.7886 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5545, allocations: 0 / 0.7886 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005187/0.555, allocations: 155.8 kB / 0.7887 GB, free: 10.94 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.002114/0.5571, allocations: 1.57 MB / 0.7903 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5583, allocations: 0.608 MB / 0.7909 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5583, allocations: 0 / 0.7909 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.5589, allocations: 300.4 kB / 0.7911 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5603, allocations: 271.9 kB / 0.7914 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.567, allocations: 5.109 MB / 0.7964 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.5674, allocations: 0.8704 MB / 0.7972 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004566/0.5678, allocations: 129.4 kB / 0.7974 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.5681, allocations: 171.4 kB / 0.7975 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5681, allocations: 0 / 0.7975 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.676, allocations: 15.69 MB / 0.8129 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.6, allocations: 10.72 kB / 0.8129 GB, free: 2.152 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)