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.004728/0.004728, allocations: 99.69 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.001502/0.001502, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9155/0.9155, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.19 kB / 0.5858 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1426, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5289/0.6715, allocations: 181.8 MB / 0.8424 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006729/0.6783, allocations: 4.455 MB / 0.8467 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.679, allocations: 20.41 kB / 0.8468 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.6799, allocations: 249.5 kB / 0.847 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.6819, allocations: 0.7574 MB / 0.8477 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.6856, allocations: 1.514 MB / 0.8492 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.6872, allocations: 1.26 MB / 0.8504 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.6879, allocations: 445.6 kB / 0.8509 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.6891, allocations: 0.5722 MB / 0.8514 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.6896, allocations: 412.5 kB / 0.8518 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.6897, allocations: 47.94 kB / 0.8519 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.6926, allocations: 1.544 MB / 0.8534 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.6928, allocations: 182.5 kB / 0.8535 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.6931, allocations: 309.8 kB / 0.8538 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.6952, allocations: 1.323 MB / 0.8551 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6952, allocations: 0 / 0.8551 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6952, allocations: 0 / 0.8551 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.6953, allocations: 3.938 kB / 0.8551 GB, free: 10.63 MB / 0.6231 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.001719/0.697, allocations: 1.037 MB / 0.8562 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.697, allocations: 14.61 kB / 0.8562 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.6971, allocations: 82.11 kB / 0.8562 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.6991, allocations: 284.8 kB / 0.8565 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.6998, allocations: 475.9 kB / 0.857 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.6999, allocations: 31.16 kB / 0.857 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.7, allocations: 45.23 kB / 0.857 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.701, allocations: 0.546 MB / 0.8576 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.701, allocations: 6.469 kB / 0.8576 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.7011, allocations: 18.45 kB / 0.8576 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.7011, allocations: 12.69 kB / 0.8576 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.7021, allocations: 456 kB / 0.858 GB, free: 8.508 MB / 0.6231 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.002713/0.7049, allocations: 2.128 MB / 0.8601 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7059, allocations: 418.9 kB / 0.8605 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.7065, allocations: 224.7 kB / 0.8607 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.7072, allocations: 400.3 kB / 0.8611 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.7079, allocations: 279.8 kB / 0.8614 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 2.063e-06/0.7079, allocations: 0 / 0.8614 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.00192/0.7098, allocations: 0.6924 MB / 0.8621 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7099, allocations: 59.39 kB / 0.8621 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.7105, allocations: 0.4903 MB / 0.8626 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.7106, allocations: 33.7 kB / 0.8626 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.7108, allocations: 264.5 kB / 0.8629 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.711, allocations: 130.9 kB / 0.863 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.7112, allocations: 90.08 kB / 0.8631 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.7113, allocations: 370.7 kB / 0.8634 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.7119, allocations: 200.8 kB / 0.8636 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.7125, allocations: 312.1 kB / 0.8639 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.7137, allocations: 0.541 MB / 0.8645 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7137, allocations: 4 kB / 0.8645 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001384/0.7151, allocations: 0.6471 MB / 0.8651 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.7151, allocations: 65.12 kB / 0.8652 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7151, allocations: 7.938 kB / 0.8652 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.7152, allocations: 8 kB / 0.8652 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.7156, allocations: 91.88 kB / 0.8653 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.7157, allocations: 8 kB / 0.8653 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.7162, allocations: 83.77 kB / 0.8654 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.7163, allocations: 23.98 kB / 0.8654 GB, free: 0.5938 MB / 0.6231 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.000248/0.7165, allocations: 198.9 kB / 0.8656 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.7166, allocations: 55.62 kB / 0.8656 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.7179, allocations: 0.533 MB / 0.8661 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.718, allocations: 4 kB / 0.8661 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.718, allocations: 1.25 kB / 0.8661 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.718, allocations: 0 / 0.8661 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.7204, allocations: 1.36 MB / 0.8675 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7204, allocations: 4 kB / 0.8675 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.7208, allocations: 76.33 kB / 0.8675 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.7208, allocations: 8 kB / 0.8676 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.7209, allocations: 15.98 kB / 0.8676 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.7209, allocations: 4 kB / 0.8676 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.7209, allocations: 8.812 kB / 0.8676 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.7228, allocations: 0.9344 MB / 0.8685 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.7231, allocations: 180.7 kB / 0.8687 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.7232, allocations: 12 kB / 0.8687 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.7236, allocations: 35.95 kB / 0.8687 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.7237, allocations: 47.83 kB / 0.8688 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.7238, allocations: 19.98 kB / 0.8688 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004519/0.7243, allocations: 346.8 kB / 0.8691 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7243, allocations: 0 / 0.8691 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005936/0.7249, allocations: 155.8 kB / 0.8693 GB, free: 12.42 MB / 0.6387 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.002554/0.7274, allocations: 1.573 MB / 0.8708 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.7288, allocations: 0.5806 MB / 0.8714 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7288, allocations: 4 kB / 0.8714 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.7295, allocations: 292.6 kB / 0.8716 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.731, allocations: 284.8 kB / 0.8719 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.739, allocations: 5.008 MB / 0.8768 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.7396, allocations: 0.8626 MB / 0.8776 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004943/0.7401, allocations: 132.6 kB / 0.8778 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.7404, allocations: 179.4 kB / 0.8779 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7404, allocations: 4 kB / 0.878 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4737/1.214, allocations: 15.84 MB / 0.8934 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.162/10.38, allocations: 11.86 kB / 0.8934 GB, free: 3.551 MB / 0.6544 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)