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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8831/0.8831, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7137/0.7137, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.388e-05, allocations: 6.109 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4415/0.4416, allocations: 160.5 MB / 0.7748 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.004595/0.4461, allocations: 4.156 MB / 0.7789 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.4464, allocations: 27.31 kB / 0.7789 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.447, allocations: 261.7 kB / 0.7792 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4484, allocations: 0.7731 MB / 0.7799 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.4507, allocations: 1.646 MB / 0.7815 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.4517, allocations: 1.264 MB / 0.7828 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.4521, allocations: 361.6 kB / 0.7831 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.4533, allocations: 0.9966 MB / 0.7841 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.4536, allocations: 349.8 kB / 0.7844 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.4537, allocations: 49.81 kB / 0.7845 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.455, allocations: 1.262 MB / 0.7857 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4552, allocations: 204.3 kB / 0.7859 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.4554, allocations: 209.2 kB / 0.7861 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.4567, allocations: 1.327 MB / 0.7874 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4567, allocations: 0 / 0.7874 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4567, allocations: 1.125 kB / 0.7874 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4567, allocations: 0 / 0.7874 GB, free: 9.051 MB / 0.6511 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.001327/0.4581, allocations: 0.9581 MB / 0.7883 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4581, allocations: 10.66 kB / 0.7883 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/0.4582, allocations: 84.81 kB / 0.7884 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4592, allocations: 290.1 kB / 0.7887 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.4598, allocations: 403.4 kB / 0.7891 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4598, allocations: 34.88 kB / 0.7891 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.4599, allocations: 44.88 kB / 0.7892 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.4606, allocations: 0.5471 MB / 0.7897 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4606, allocations: 3.094 kB / 0.7897 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.4606, allocations: 23.31 kB / 0.7897 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4606, allocations: 9.875 kB / 0.7897 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.4613, allocations: 458.5 kB / 0.7902 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.463, allocations: 1.777 MB / 0.7919 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.4636, allocations: 396.5 kB / 0.7923 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.4639, allocations: 208.6 kB / 0.7925 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.4641, allocations: 97.83 kB / 0.7926 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.4645, allocations: 294.6 kB / 0.7928 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.4645, allocations: 0 / 0.7928 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001002/0.4655, allocations: 0.6968 MB / 0.7935 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4656, allocations: 62.89 kB / 0.7936 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.466, allocations: 499.2 kB / 0.7941 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.466, allocations: 35.45 kB / 0.7941 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4661, allocations: 269.6 kB / 0.7944 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.4662, allocations: 127.4 kB / 0.7945 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4663, allocations: 94.58 kB / 0.7946 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4665, allocations: 366.9 kB / 0.7949 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.4668, allocations: 250.3 kB / 0.7952 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.4672, allocations: 0.4904 MB / 0.7956 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.4678, allocations: 0.5374 MB / 0.7962 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4678, allocations: 0 / 0.7962 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008005/0.4686, allocations: 0.7105 MB / 0.7969 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.4686, allocations: 70.2 kB / 0.7969 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4686, allocations: 2.5 kB / 0.7969 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4687, allocations: 5.938 kB / 0.7969 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4689, allocations: 92.59 kB / 0.797 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.4689, allocations: 13.06 kB / 0.797 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.4692, allocations: 87.5 kB / 0.7971 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4692, allocations: 22.47 kB / 0.7971 GB, free: 3.43 MB / 0.6511 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.0001722/0.4694, allocations: 191.7 kB / 0.7973 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.4694, allocations: 64.72 kB / 0.7974 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/0.4702, allocations: 0.5331 MB / 0.7979 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4702, allocations: 5.344 kB / 0.7979 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4702, allocations: 4 kB / 0.7979 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4702, allocations: 2.109 kB / 0.7979 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.4715, allocations: 1.261 MB / 0.7991 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4715, allocations: 5.188 kB / 0.7991 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4717, allocations: 76.7 kB / 0.7992 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4717, allocations: 5.688 kB / 0.7992 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.4718, allocations: 16.09 kB / 0.7992 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4718, allocations: 9.281 kB / 0.7992 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4718, allocations: 9.25 kB / 0.7993 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4728, allocations: 0.9289 MB / 0.8002 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.473, allocations: 95.42 kB / 0.8003 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.473, allocations: 16.53 kB / 0.8003 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4732, allocations: 34.61 kB / 0.8003 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4733, allocations: 46.59 kB / 0.8003 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.4733, allocations: 18.52 kB / 0.8004 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002504/0.4736, allocations: 350.9 kB / 0.8007 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4736, allocations: 4 kB / 0.8007 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003622/0.4739, allocations: 152.7 kB / 0.8008 GB, free: 1.441 MB / 0.6511 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.001456/0.4754, allocations: 1.553 MB / 0.8024 GB, free: 272 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006841/0.4761, allocations: 0.6246 MB / 0.803 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4761, allocations: 2.188 kB / 0.803 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.4764, allocations: 270.4 kB / 0.8032 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.4772, allocations: 283.4 kB / 0.8035 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4816, allocations: 5.208 MB / 0.8086 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.4818, allocations: 266.2 kB / 0.8088 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.4821, allocations: 132.3 kB / 0.809 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4823, allocations: 176.5 kB / 0.8091 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of SimCode: time 5.81e-07/0.4823, allocations: 6.75 kB / 0.8091 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.5095, allocations: 17.7 MB / 0.8264 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.997, allocations: 27.12 kB / 0.8265 GB, free: 13.88 MB / 0.6823 GB " [Timeout remaining time 652] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.682848141528666] Failed to read output from testmodel.py, exit status != 0: 8.090955512598157 8.101928787 7.64318356 Calling exit ...