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.006035/0.006035, allocations: 102 kB / 15.73 MB, free: 6.039 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.00123/0.001231, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9718/0.9718, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4691, allocations: 80.9 MB / 0.6642 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.199/0.6681, allocations: 181.8 MB / 0.8417 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006714/0.6749, allocations: 4.464 MB / 0.8461 GB, free: 6.621 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.6755, allocations: 19.88 kB / 0.8461 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007918/0.6764, allocations: 242.1 kB / 0.8463 GB, free: 6.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.6783, allocations: 0.7541 MB / 0.847 GB, free: 5.605 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.682, allocations: 1.518 MB / 0.8485 GB, free: 4.086 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.6837, allocations: 1.266 MB / 0.8498 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.6844, allocations: 437.4 kB / 0.8502 GB, free: 2.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.6856, allocations: 0.5799 MB / 0.8507 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.6862, allocations: 414.3 kB / 0.8511 GB, free: 1.398 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.6863, allocations: 48 kB / 0.8512 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.689, allocations: 1.539 MB / 0.8527 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.6893, allocations: 187.5 kB / 0.8529 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.6898, allocations: 302.5 kB / 0.8531 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.6921, allocations: 1.313 MB / 0.8544 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6921, allocations: 4 kB / 0.8544 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.946e-06/0.6922, allocations: 4 kB / 0.8544 GB, free: 14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6922, allocations: 0 / 0.8544 GB, free: 14 MB / 0.6856 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.001865/0.694, allocations: 1.017 MB / 0.8554 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.6941, allocations: 12.03 kB / 0.8554 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.6942, allocations: 82.52 kB / 0.8555 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.6961, allocations: 275.1 kB / 0.8558 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.697, allocations: 481.2 kB / 0.8562 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.6971, allocations: 33 kB / 0.8563 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.6972, allocations: 47.94 kB / 0.8563 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6982, allocations: 0.5507 MB / 0.8569 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6982, allocations: 0 / 0.8569 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.6983, allocations: 19.98 kB / 0.8569 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.6983, allocations: 12 kB / 0.8569 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.6993, allocations: 455.6 kB / 0.8573 GB, free: 10.91 MB / 0.6856 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.00313/0.7025, allocations: 2.119 MB / 0.8594 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7035, allocations: 410.3 kB / 0.8598 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.704, allocations: 228.7 kB / 0.86 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008193/0.7049, allocations: 400.3 kB / 0.8604 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.7055, allocations: 283.1 kB / 0.8607 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 4.719e-06/0.7056, allocations: 0 / 0.8607 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.00181/0.7074, allocations: 0.6861 MB / 0.8613 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.7075, allocations: 63.41 kB / 0.8614 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.708, allocations: 490.1 kB / 0.8619 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.7081, allocations: 37.7 kB / 0.8619 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.7084, allocations: 260 kB / 0.8621 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.7085, allocations: 126.3 kB / 0.8623 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.7087, allocations: 90.03 kB / 0.8623 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.7089, allocations: 366.7 kB / 0.8627 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.7094, allocations: 200.8 kB / 0.8629 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.7101, allocations: 316 kB / 0.8632 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.7112, allocations: 0.538 MB / 0.8637 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.7112, allocations: 3.938 kB / 0.8637 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001347/0.7126, allocations: 0.6569 MB / 0.8644 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.7126, allocations: 59.41 kB / 0.8644 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7127, allocations: 4 kB / 0.8644 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.7127, allocations: 4 kB / 0.8644 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.7132, allocations: 91.94 kB / 0.8645 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.7132, allocations: 19.92 kB / 0.8645 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.7137, allocations: 83.58 kB / 0.8646 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.7138, allocations: 23.98 kB / 0.8646 GB, free: 3.016 MB / 0.6856 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.000244/0.714, allocations: 191.2 kB / 0.8648 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.7141, allocations: 51.34 kB / 0.8649 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.7153, allocations: 0.5448 MB / 0.8654 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7154, allocations: 0 / 0.8654 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7154, allocations: 4 kB / 0.8654 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7154, allocations: 0 / 0.8654 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.7178, allocations: 1.354 MB / 0.8667 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7178, allocations: 3.938 kB / 0.8667 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.7182, allocations: 75.88 kB / 0.8668 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.7182, allocations: 4.438 kB / 0.8668 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.7183, allocations: 19.98 kB / 0.8668 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.7183, allocations: 7.938 kB / 0.8668 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7183, allocations: 4 kB / 0.8668 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3326/1.051, allocations: 0.9269 MB / 0.8677 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/1.051, allocations: 169 kB / 0.8679 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/1.052, allocations: 18.34 kB / 0.8679 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/1.052, allocations: 32.7 kB / 0.8679 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.052, allocations: 51.31 kB / 0.868 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/1.053, allocations: 16.67 kB / 0.868 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007178/1.053, allocations: 344.8 kB / 0.8683 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.372e-06/1.053, allocations: 0 / 0.8683 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000934/1.054, allocations: 152 kB / 0.8685 GB, free: 193.5 MB / 0.6856 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.003027/1.057, allocations: 1.566 MB / 0.87 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001833/1.059, allocations: 0.5883 MB / 0.8706 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.059, allocations: 0.6562 kB / 0.8706 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009428/1.06, allocations: 287.6 kB / 0.8709 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.062, allocations: 293.4 kB / 0.8711 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/1.072, allocations: 5.004 MB / 0.876 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/1.072, allocations: 0.8673 MB / 0.8769 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000646/1.073, allocations: 121.3 kB / 0.877 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/1.073, allocations: 178.6 kB / 0.8772 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.232e-06/1.073, allocations: 3.938 kB / 0.8772 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/1.116, allocations: 16.12 MB / 0.8929 GB, free: 181 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.79, allocations: 8.938 kB / 0.8929 GB, free: 181 MB / 0.6856 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)