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.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7737/0.7737, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 72.12 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4168, allocations: 80.19 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2153/0.6322, allocations: 181.8 MB / 0.7577 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008777/0.641, allocations: 4.458 MB / 0.7621 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.6418, allocations: 19.88 kB / 0.7621 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.643, allocations: 246.1 kB / 0.7623 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.6456, allocations: 0.7541 MB / 0.763 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.6505, allocations: 1.519 MB / 0.7645 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.6527, allocations: 1.258 MB / 0.7658 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.6537, allocations: 441.3 kB / 0.7662 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.6552, allocations: 0.5798 MB / 0.7667 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.6561, allocations: 406.4 kB / 0.7671 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.6563, allocations: 44 kB / 0.7672 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.6608, allocations: 1.543 MB / 0.7687 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.6612, allocations: 187.4 kB / 0.7689 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.6619, allocations: 310.5 kB / 0.7692 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.6654, allocations: 1.297 MB / 0.7704 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6654, allocations: 0 / 0.7704 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.285e-06/0.6654, allocations: 0 / 0.7704 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.6655, allocations: 4 kB / 0.7704 GB, free: 14.09 MB / 0.6075 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.002835/0.6683, allocations: 1.01 MB / 0.7714 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6684, allocations: 8.031 kB / 0.7714 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.6686, allocations: 86.45 kB / 0.7715 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.6721, allocations: 283 kB / 0.7718 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.6729, allocations: 445.5 kB / 0.7722 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.6729, allocations: 29 kB / 0.7722 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.673, allocations: 47.98 kB / 0.7723 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.6741, allocations: 0.5507 MB / 0.7728 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6741, allocations: 3.938 kB / 0.7728 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.6742, allocations: 16 kB / 0.7728 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.6742, allocations: 12 kB / 0.7728 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6753, allocations: 459.5 kB / 0.7733 GB, free: 11.02 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.002844/0.6782, allocations: 2.127 MB / 0.7754 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6792, allocations: 398.5 kB / 0.7757 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.6797, allocations: 232.7 kB / 0.776 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.6805, allocations: 396.3 kB / 0.7763 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006432/0.6811, allocations: 306.7 kB / 0.7766 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/0.6811, allocations: 0 / 0.7766 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001879/0.683, allocations: 0.6737 MB / 0.7773 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.6831, allocations: 63.14 kB / 0.7773 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.6837, allocations: 498.1 kB / 0.7778 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.6838, allocations: 37.7 kB / 0.7779 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.684, allocations: 260.1 kB / 0.7781 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6841, allocations: 122.2 kB / 0.7782 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.6843, allocations: 94.11 kB / 0.7783 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6844, allocations: 366.7 kB / 0.7787 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.685, allocations: 196.8 kB / 0.7788 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.6856, allocations: 316.1 kB / 0.7791 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6867, allocations: 0.554 MB / 0.7797 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6867, allocations: 8 kB / 0.7797 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001426/0.6881, allocations: 0.6455 MB / 0.7803 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.6882, allocations: 63.41 kB / 0.7804 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6882, allocations: 0 / 0.7804 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.6882, allocations: 8 kB / 0.7804 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.6887, allocations: 95.81 kB / 0.7805 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.6888, allocations: 15.97 kB / 0.7805 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.6894, allocations: 79.66 kB / 0.7806 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.6894, allocations: 20 kB / 0.7806 GB, free: 3.117 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.000255/0.6897, allocations: 199.1 kB / 0.7808 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.6898, allocations: 51.34 kB / 0.7808 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.6911, allocations: 0.5341 MB / 0.7814 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.6911, allocations: 4 kB / 0.7814 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6911, allocations: 0 / 0.7814 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6911, allocations: 7.984 kB / 0.7814 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.6936, allocations: 1.352 MB / 0.7827 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6936, allocations: 4 kB / 0.7827 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.694, allocations: 83.81 kB / 0.7828 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6941, allocations: 4.438 kB / 0.7828 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.6941, allocations: 16 kB / 0.7828 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/0.6941, allocations: 8 kB / 0.7828 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6941, allocations: 4 kB / 0.7828 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6959, allocations: 0.9294 MB / 0.7837 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.6962, allocations: 168.4 kB / 0.7839 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.6963, allocations: 19.92 kB / 0.7839 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.6968, allocations: 36.03 kB / 0.7839 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6969, allocations: 47.88 kB / 0.784 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.697, allocations: 16 kB / 0.784 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000435/0.6974, allocations: 346.8 kB / 0.7843 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6974, allocations: 4 kB / 0.7843 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005854/0.698, allocations: 155.8 kB / 0.7845 GB, free: 14.95 MB / 0.6231 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.002466/0.7005, allocations: 1.568 MB / 0.786 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.7018, allocations: 0.5965 MB / 0.7866 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7018, allocations: 0 / 0.7866 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.7025, allocations: 286.9 kB / 0.7869 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.7039, allocations: 287.5 kB / 0.7871 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.7121, allocations: 5.101 MB / 0.7921 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.7126, allocations: 0.8626 MB / 0.793 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005648/0.7132, allocations: 128.7 kB / 0.7931 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.7135, allocations: 175.4 kB / 0.7932 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.7135, allocations: 3.938 kB / 0.7932 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.7524, allocations: 15.71 MB / 0.8086 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.852, allocations: 0 / 0.8086 GB, free: 6.184 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)