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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001059/0.001059, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 63.59 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1294, allocations: 80.92 MB / 0.5838 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3607/0.4901, allocations: 179.5 MB / 0.7591 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005153/0.4953, allocations: 4.468 MB / 0.7635 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.4957, allocations: 19.88 kB / 0.7635 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.4962, allocations: 198.7 kB / 0.7637 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.4977, allocations: 0.7078 MB / 0.7644 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.5005, allocations: 1.407 MB / 0.7658 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5018, allocations: 1.692 MB / 0.7674 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.5022, allocations: 378.2 kB / 0.7678 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.5029, allocations: 0.5291 MB / 0.7683 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.5033, allocations: 414.3 kB / 0.7687 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.5034, allocations: 28 kB / 0.7687 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.5057, allocations: 1.808 MB / 0.7705 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.5058, allocations: 171.4 kB / 0.7706 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.5061, allocations: 290.6 kB / 0.7709 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.5076, allocations: 1.39 MB / 0.7723 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5076, allocations: 4 kB / 0.7723 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5076, allocations: 0 / 0.7723 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5076, allocations: 0 / 0.7723 GB, free: 12.39 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.001509/0.5091, allocations: 1.021 MB / 0.7733 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5091, allocations: 12.03 kB / 0.7733 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.5092, allocations: 82.45 kB / 0.7734 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.5111, allocations: 283 kB / 0.7736 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.5117, allocations: 437.5 kB / 0.7741 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.5118, allocations: 33 kB / 0.7741 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.5118, allocations: 47.92 kB / 0.7741 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.5128, allocations: 0.5468 MB / 0.7747 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5128, allocations: 0 / 0.7747 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.5129, allocations: 19.94 kB / 0.7747 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5129, allocations: 23.92 kB / 0.7747 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.5139, allocations: 455.5 kB / 0.7752 GB, free: 9.324 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.002175/0.5161, allocations: 2.116 MB / 0.7772 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.517, allocations: 411.2 kB / 0.7776 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.5174, allocations: 232.4 kB / 0.7778 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.5181, allocations: 400.3 kB / 0.7782 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.5186, allocations: 289.6 kB / 0.7785 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.734e-06/0.5187, allocations: 0 / 0.7785 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001657/0.5203, allocations: 0.6813 MB / 0.7792 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.5204, allocations: 63.34 kB / 0.7792 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.5209, allocations: 0.4902 MB / 0.7797 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.5209, allocations: 33.7 kB / 0.7797 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5211, allocations: 260.1 kB / 0.78 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.5212, allocations: 126.2 kB / 0.7801 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5213, allocations: 90.12 kB / 0.7802 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5214, allocations: 358.8 kB / 0.7805 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.5219, allocations: 204.8 kB / 0.7807 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5224, allocations: 312.1 kB / 0.781 GB, free: 3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.5234, allocations: 0.5447 MB / 0.7815 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5234, allocations: 0 / 0.7815 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001184/0.5246, allocations: 0.6454 MB / 0.7822 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.5246, allocations: 67.39 kB / 0.7822 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5246, allocations: 5.938 kB / 0.7822 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5247, allocations: 4 kB / 0.7823 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5251, allocations: 99.81 kB / 0.7823 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5251, allocations: 7.938 kB / 0.7824 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.5256, allocations: 87.56 kB / 0.7824 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.5257, allocations: 24 kB / 0.7825 GB, free: 1.441 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.0001979/0.5259, allocations: 197.6 kB / 0.7826 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.526, allocations: 55.34 kB / 0.7827 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.5271, allocations: 0.5347 MB / 0.7832 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5271, allocations: 4 kB / 0.7832 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5271, allocations: 4.812 kB / 0.7832 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5271, allocations: 3.984 kB / 0.7832 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.5291, allocations: 1.353 MB / 0.7846 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5291, allocations: 8.094 kB / 0.7846 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.5295, allocations: 75.88 kB / 0.7846 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5295, allocations: 4 kB / 0.7846 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.5296, allocations: 12.88 kB / 0.7847 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.5296, allocations: 4 kB / 0.7847 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5296, allocations: 7.938 kB / 0.7847 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.5311, allocations: 0.9442 MB / 0.7856 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.5313, allocations: 164.3 kB / 0.7857 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.5314, allocations: 15.98 kB / 0.7858 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.5318, allocations: 43.95 kB / 0.7858 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5319, allocations: 48.02 kB / 0.7858 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.532, allocations: 23.92 kB / 0.7859 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003487/0.5323, allocations: 346.8 kB / 0.7862 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5323, allocations: 0 / 0.7862 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004844/0.5328, allocations: 147.8 kB / 0.7863 GB, free: 13.27 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.001959/0.5348, allocations: 1.576 MB / 0.7879 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.5358, allocations: 0.5757 MB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5359, allocations: 4 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.5365, allocations: 288.8 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5377, allocations: 275.4 kB / 0.789 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.5443, allocations: 5.244 MB / 0.7941 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5446, allocations: 0.8781 MB / 0.795 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004539/0.5451, allocations: 128.7 kB / 0.7951 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.5453, allocations: 175.4 kB / 0.7953 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5453, allocations: 0 / 0.7953 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6784/1.224, allocations: 15 MB / 0.8099 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.224, allocations: 236.5 kB / 0.8101 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/3.297, allocations: 0 / 0.8101 GB, free: 4.824 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)