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.0008322/0.0008321, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005377/0.005378, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8454/0.8454, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 13.44 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4083/0.5473, allocations: 177.2 MB / 0.7611 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005758/0.5531, allocations: 4.422 MB / 0.7654 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003843/0.5535, allocations: 19.81 kB / 0.7654 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.5541, allocations: 194.8 kB / 0.7656 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.5557, allocations: 0.7039 MB / 0.7663 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.559, allocations: 1.412 MB / 0.7677 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.5606, allocations: 1.692 MB / 0.7693 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.5611, allocations: 376 kB / 0.7697 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.5619, allocations: 0.5096 MB / 0.7702 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.5625, allocations: 410.3 kB / 0.7706 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.5625, allocations: 28 kB / 0.7706 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5653, allocations: 1.804 MB / 0.7724 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.5655, allocations: 171.4 kB / 0.7725 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.5658, allocations: 308.2 kB / 0.7728 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.5674, allocations: 1.375 MB / 0.7742 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5675, allocations: 0 / 0.7742 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5675, allocations: 0 / 0.7742 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5675, allocations: 0 / 0.7742 GB, free: 13.71 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.001547/0.569, allocations: 0.9318 MB / 0.7751 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5691, allocations: 12.03 kB / 0.7751 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.138e-05/0.5692, allocations: 81.2 kB / 0.7752 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.571, allocations: 287 kB / 0.7754 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.5717, allocations: 445.5 kB / 0.7759 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.5717, allocations: 33 kB / 0.7759 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.5718, allocations: 43.98 kB / 0.7759 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5729, allocations: 0.5625 MB / 0.7765 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5729, allocations: 3.938 kB / 0.7765 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.5729, allocations: 23.94 kB / 0.7765 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5729, allocations: 12 kB / 0.7765 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.574, allocations: 487.5 kB / 0.777 GB, free: 10.68 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.002277/0.5763, allocations: 2.135 MB / 0.7791 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/0.5773, allocations: 435.3 kB / 0.7795 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.5778, allocations: 240.7 kB / 0.7797 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/0.5785, allocations: 412.3 kB / 0.7801 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006195/0.5791, allocations: 313.5 kB / 0.7804 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.824e-06/0.5791, allocations: 4 kB / 0.7804 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.00181/0.5809, allocations: 0.7359 MB / 0.7811 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.581, allocations: 59.34 kB / 0.7812 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.5816, allocations: 494.1 kB / 0.7817 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.5816, allocations: 33.7 kB / 0.7817 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.5818, allocations: 264.1 kB / 0.7819 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5819, allocations: 126.2 kB / 0.7821 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.582, allocations: 45.7 kB / 0.7821 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5822, allocations: 366.7 kB / 0.7825 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.5827, allocations: 216.8 kB / 0.7827 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.5833, allocations: 328.1 kB / 0.783 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.5843, allocations: 0.5721 MB / 0.7835 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5843, allocations: 0 / 0.7835 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001318/0.5857, allocations: 0.6844 MB / 0.7842 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.5857, allocations: 63.41 kB / 0.7843 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5857, allocations: 4.25 kB / 0.7843 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5858, allocations: 8 kB / 0.7843 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5862, allocations: 103.9 kB / 0.7844 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5862, allocations: 11.88 kB / 0.7844 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.5868, allocations: 95.38 kB / 0.7845 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.5868, allocations: 24 kB / 0.7845 GB, free: 2.586 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.0002362/0.5871, allocations: 192.4 kB / 0.7847 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.5872, allocations: 55.34 kB / 0.7847 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.5885, allocations: 0.5748 MB / 0.7853 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5885, allocations: 4 kB / 0.7853 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5885, allocations: 0 / 0.7853 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5886, allocations: 3.984 kB / 0.7853 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.5908, allocations: 1.376 MB / 0.7866 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5908, allocations: 4.062 kB / 0.7867 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.5912, allocations: 92.31 kB / 0.7867 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.5912, allocations: 8 kB / 0.7867 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.5912, allocations: 8 kB / 0.7868 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5913, allocations: 8 kB / 0.7868 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5913, allocations: 8.484 kB / 0.7868 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5931, allocations: 0.9911 MB / 0.7877 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.5933, allocations: 172.3 kB / 0.7879 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.5934, allocations: 15.98 kB / 0.7879 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.5939, allocations: 56.02 kB / 0.788 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.594, allocations: 55.81 kB / 0.788 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.5941, allocations: 12 kB / 0.788 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004137/0.5945, allocations: 342.8 kB / 0.7884 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5945, allocations: 0 / 0.7884 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005814/0.5951, allocations: 159.8 kB / 0.7885 GB, free: 14.28 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.00242/0.5975, allocations: 1.624 MB / 0.7901 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.5987, allocations: 0.6043 MB / 0.7907 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5988, allocations: 0 / 0.7907 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.5994, allocations: 315.4 kB / 0.791 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.6011, allocations: 277.7 kB / 0.7913 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.6085, allocations: 5.368 MB / 0.7965 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.609, allocations: 0.8743 MB / 0.7974 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005226/0.6095, allocations: 128.7 kB / 0.7975 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6098, allocations: 175.4 kB / 0.7976 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.6098, allocations: 0 / 0.7976 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.679/3.289, allocations: 14.81 MB / 0.8121 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/3.289, allocations: 246.4 kB / 0.8123 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/6.71, allocations: 0 / 0.8123 GB, free: 5.801 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)