Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_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.001209/0.001214, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001213/0.001214, allocations: 192.1 kB / 16.25 MB, free: 6.617 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6838/0.6838, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.5 kB / 0.5014 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3186, allocations: 80.2 MB / 0.5797 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1638/0.4825, allocations: 179.4 MB / 0.7549 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004818/0.4874, allocations: 4.432 MB / 0.7592 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.4876, allocations: 19.88 kB / 0.7592 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.4882, allocations: 198.7 kB / 0.7594 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4896, allocations: 0.7156 MB / 0.7601 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.4922, allocations: 1.411 MB / 0.7615 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.4932, allocations: 1.27 MB / 0.7627 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.4937, allocations: 429.3 kB / 0.7631 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.4944, allocations: 0.5799 MB / 0.7637 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.4948, allocations: 426.3 kB / 0.7641 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.4948, allocations: 48 kB / 0.7641 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.4967, allocations: 1.597 MB / 0.7657 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.4969, allocations: 191.4 kB / 0.7659 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4971, allocations: 306.5 kB / 0.7662 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4984, allocations: 1.41 MB / 0.7675 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4985, allocations: 0 / 0.7675 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4985, allocations: 4 kB / 0.7675 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.4985, allocations: 0 / 0.7675 GB, free: 0.7031 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.001433/0.4999, allocations: 1.021 MB / 0.7685 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5, allocations: 8.031 kB / 0.7686 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.5, allocations: 82.53 kB / 0.7686 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.5019, allocations: 283 kB / 0.7689 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.5024, allocations: 441.5 kB / 0.7693 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5025, allocations: 33 kB / 0.7694 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.5026, allocations: 43.94 kB / 0.7694 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.5035, allocations: 0.5507 MB / 0.7699 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5035, allocations: 0 / 0.7699 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.5035, allocations: 19.98 kB / 0.77 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.5035, allocations: 12 kB / 0.77 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.5044, allocations: 459.5 kB / 0.7704 GB, free: 13.64 MB / 0.6075 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.002049/0.5065, allocations: 2.119 MB / 0.7725 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.5074, allocations: 406.5 kB / 0.7729 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.5078, allocations: 236.6 kB / 0.7731 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.5084, allocations: 392.3 kB / 0.7735 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.509, allocations: 294.8 kB / 0.7737 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.509, allocations: 4 kB / 0.7737 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001548/0.5105, allocations: 0.6776 MB / 0.7744 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.5106, allocations: 67.09 kB / 0.7745 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.511, allocations: 498.1 kB / 0.7749 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.5111, allocations: 33.7 kB / 0.775 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.5113, allocations: 264.1 kB / 0.7752 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.5113, allocations: 122.2 kB / 0.7753 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.5115, allocations: 94.11 kB / 0.7754 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5116, allocations: 366.7 kB / 0.7758 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.512, allocations: 192.8 kB / 0.776 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.5126, allocations: 324 kB / 0.7763 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.5134, allocations: 0.5422 MB / 0.7768 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5135, allocations: 4 kB / 0.7768 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001122/0.5146, allocations: 0.6457 MB / 0.7774 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.5146, allocations: 73.42 kB / 0.7775 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5146, allocations: 0 / 0.7775 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5147, allocations: 8 kB / 0.7775 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.5151, allocations: 95.81 kB / 0.7776 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.5151, allocations: 11.98 kB / 0.7776 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.5156, allocations: 79.48 kB / 0.7777 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.5157, allocations: 23.98 kB / 0.7777 GB, free: 5.738 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.0001905/0.5159, allocations: 199.1 kB / 0.7779 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.5159, allocations: 51.34 kB / 0.778 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.517, allocations: 0.5341 MB / 0.7785 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.517, allocations: 4 kB / 0.7785 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5171, allocations: 7.938 kB / 0.7785 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5171, allocations: 0 / 0.7785 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.519, allocations: 1.36 MB / 0.7798 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.519, allocations: 3.938 kB / 0.7798 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.5194, allocations: 76.33 kB / 0.7799 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5194, allocations: 8 kB / 0.7799 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.5195, allocations: 20.05 kB / 0.7799 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.5195, allocations: 4 kB / 0.7799 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5195, allocations: 7.938 kB / 0.7799 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.5209, allocations: 0.9294 MB / 0.7808 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.5211, allocations: 168.4 kB / 0.781 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.5212, allocations: 16 kB / 0.781 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.5217, allocations: 43.95 kB / 0.7811 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5218, allocations: 51.88 kB / 0.7811 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.5218, allocations: 19.94 kB / 0.7811 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000349/0.5222, allocations: 338.8 kB / 0.7815 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5222, allocations: 0 / 0.7815 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005127/0.5227, allocations: 159.8 kB / 0.7816 GB, free: 1.559 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.002155/0.5248, allocations: 1.568 MB / 0.7831 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.526, allocations: 0.6071 MB / 0.7837 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.526, allocations: 0 / 0.7837 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.5267, allocations: 289 kB / 0.784 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5279, allocations: 284.1 kB / 0.7843 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.535, allocations: 5.253 MB / 0.7894 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.5355, allocations: 0.8665 MB / 0.7903 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005608/0.536, allocations: 128.7 kB / 0.7904 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5363, allocations: 179.4 kB / 0.7905 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.5363, allocations: 0 / 0.7905 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.791/2.328, allocations: 15.43 MB / 0.8056 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/2.328, allocations: 243.8 kB / 0.8058 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/4.818, allocations: 3.625 kB / 0.8059 GB, free: 8.68 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)