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.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.0008493/0.0008493, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00119/0.00119, 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.8801/0.8801, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7248/0.7248, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.838e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.459/0.459, allocations: 160.5 MB / 0.7749 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.00586/0.4649, allocations: 4.162 MB / 0.779 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.4658, allocations: 27.31 kB / 0.779 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.4666, allocations: 257.4 kB / 0.7792 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.4687, allocations: 0.7809 MB / 0.78 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005225/0.4739, allocations: 1.648 MB / 0.7816 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.4762, allocations: 1.267 MB / 0.7828 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.4768, allocations: 351.5 kB / 0.7832 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.4787, allocations: 0.9916 MB / 0.7841 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.4792, allocations: 351.1 kB / 0.7845 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.4792, allocations: 49.34 kB / 0.7845 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.4819, allocations: 1.267 MB / 0.7858 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.4821, allocations: 200.3 kB / 0.7859 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.4824, allocations: 209.4 kB / 0.7861 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.485, allocations: 1.332 MB / 0.7875 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.485, allocations: 0 / 0.7875 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/0.485, allocations: 0 / 0.7875 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.485, allocations: 0 / 0.7875 GB, free: 9.02 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.001592/0.4866, allocations: 0.9578 MB / 0.7884 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4867, allocations: 9.125 kB / 0.7884 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.4867, allocations: 88.55 kB / 0.7885 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.4879, allocations: 288.3 kB / 0.7888 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.4886, allocations: 404.2 kB / 0.7891 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.4886, allocations: 39.09 kB / 0.7892 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.4887, allocations: 42.28 kB / 0.7892 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.4895, allocations: 0.5492 MB / 0.7898 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4895, allocations: 7.812 kB / 0.7898 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.4895, allocations: 15.56 kB / 0.7898 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4895, allocations: 11.12 kB / 0.7898 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.4902, allocations: 457.8 kB / 0.7902 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4919, allocations: 1.774 MB / 0.792 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.4926, allocations: 389.1 kB / 0.7923 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.4928, allocations: 215.5 kB / 0.7925 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.4932, allocations: 95.31 kB / 0.7926 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.4937, allocations: 299.5 kB / 0.7929 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.4937, allocations: 0 / 0.7929 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001198/0.4949, allocations: 0.695 MB / 0.7936 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.495, allocations: 58.69 kB / 0.7936 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.4954, allocations: 498.2 kB / 0.7941 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4955, allocations: 39.08 kB / 0.7942 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4956, allocations: 264 kB / 0.7944 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.4957, allocations: 129.1 kB / 0.7945 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4959, allocations: 93.55 kB / 0.7946 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.496, allocations: 368.8 kB / 0.795 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.4964, allocations: 256.4 kB / 0.7952 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.4968, allocations: 499.8 kB / 0.7957 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.4974, allocations: 0.5372 MB / 0.7962 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4974, allocations: 0 / 0.7962 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008492/0.4983, allocations: 0.7043 MB / 0.7969 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.4984, allocations: 70.59 kB / 0.797 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4984, allocations: 2.531 kB / 0.797 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4984, allocations: 5.5 kB / 0.797 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4987, allocations: 102.2 kB / 0.7971 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4987, allocations: 4.812 kB / 0.7971 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.4991, allocations: 79.34 kB / 0.7972 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.4991, allocations: 26.92 kB / 0.7972 GB, free: 3.402 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.0002303/0.4994, allocations: 192.8 kB / 0.7974 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.4994, allocations: 62.66 kB / 0.7974 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.5002, allocations: 0.5292 MB / 0.7979 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.5002, allocations: 7 kB / 0.7979 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5002, allocations: 0 / 0.7979 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5002, allocations: 1.969 kB / 0.798 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.5019, allocations: 1.264 MB / 0.7992 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5019, allocations: 5.656 kB / 0.7992 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.5021, allocations: 75.25 kB / 0.7993 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.5021, allocations: 5.25 kB / 0.7993 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.5022, allocations: 19.52 kB / 0.7993 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.5022, allocations: 11.72 kB / 0.7993 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5022, allocations: 5.469 kB / 0.7993 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5035, allocations: 0.9414 MB / 0.8002 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.5037, allocations: 91.97 kB / 0.8003 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.5037, allocations: 19.55 kB / 0.8003 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.5039, allocations: 31.03 kB / 0.8004 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.504, allocations: 47.61 kB / 0.8004 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.504, allocations: 17.44 kB / 0.8004 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002925/0.5043, allocations: 358.7 kB / 0.8008 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5043, allocations: 0 / 0.8008 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004919/0.5048, allocations: 144.8 kB / 0.8009 GB, free: 1.398 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.001418/0.5062, allocations: 1.561 MB / 0.8024 GB, free: 216 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.5071, allocations: 0.6173 MB / 0.803 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5071, allocations: 0 / 0.803 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.5074, allocations: 272.7 kB / 0.8033 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.5083, allocations: 299 kB / 0.8036 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.5132, allocations: 5.195 MB / 0.8086 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.5134, allocations: 266 kB / 0.8089 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.5138, allocations: 128.9 kB / 0.809 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.514, allocations: 176.6 kB / 0.8092 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of SimCode: time 1.372e-06/0.514, allocations: 4 kB / 0.8092 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.5476, allocations: 17.72 MB / 0.8265 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.006, allocations: 2.031 kB / 0.8265 GB, free: 13.87 MB / 0.6823 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.846893432550132] Failed to read output from testmodel.py, exit status != 0: 8.0967021221295 8.105453463 7.618531404 Calling exit ...