Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0008546/0.0008546, 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.0008679/0.0008679, 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.8823/0.8823, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7072/0.7072, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.689e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.665e-05, allocations: 8.359 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002394/0.002421, allocations: 2.02 MB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003747, allocations: 1.017 MB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.003858, allocations: 11.94 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.003906, allocations: 23.67 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.004175, allocations: 83.16 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.004547, allocations: 199.4 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.004824, allocations: 306.6 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.00497, allocations: 48.83 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.005134, allocations: 151.6 kB / 0.6218 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.005296, allocations: 111.7 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.005324, allocations: 19.94 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.005618, allocations: 275.7 kB / 0.6222 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.005694, allocations: 51.81 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.005757, allocations: 75.77 kB / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.006098, allocations: 370.7 kB / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006102, allocations: 0 / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.006103, allocations: 0 / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.006109, allocations: 0 / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007941/0.006903, allocations: 0.5593 MB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.006943, allocations: 9.469 kB / 0.6232 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.006986, allocations: 54.67 kB / 0.6233 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.007131, allocations: 36.75 kB / 0.6233 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.007438, allocations: 228.8 kB / 0.6235 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.007452, allocations: 12.59 kB / 0.6236 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.00747, allocations: 16.38 kB / 0.6236 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.007801, allocations: 221.2 kB / 0.6238 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007809, allocations: 192 / 0.6238 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.007825, allocations: 20.12 kB / 0.6238 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.007832, allocations: 4 kB / 0.6238 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.008184, allocations: 191.7 kB / 0.624 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.009068, allocations: 0.8713 MB / 0.6248 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.009523, allocations: 237.3 kB / 0.6251 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.009704, allocations: 101.7 kB / 0.6252 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.009727, allocations: 4 kB / 0.6252 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.009744, allocations: 34.56 kB / 0.6252 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.009746, allocations: 0 / 0.6252 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0006566/0.0104, allocations: 341.1 kB / 0.6255 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.01044, allocations: 85.09 kB / 0.6256 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.01063, allocations: 272.2 kB / 0.6259 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01065, allocations: 25.7 kB / 0.6259 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.01073, allocations: 160.4 kB / 0.626 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.01076, allocations: 63.42 kB / 0.6261 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.01082, allocations: 41.7 kB / 0.6261 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.0109, allocations: 334.8 kB / 0.6265 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.01107, allocations: 87.92 kB / 0.6265 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.01126, allocations: 141.9 kB / 0.6267 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.01162, allocations: 246.3 kB / 0.6269 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01163, allocations: 0 / 0.6269 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000462/0.01209, allocations: 297.1 kB / 0.6272 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01211, allocations: 9.812 kB / 0.6272 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01212, allocations: 4 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01213, allocations: 0 / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01228, allocations: 64.05 kB / 0.6273 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01228, allocations: 7.984 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.0124, allocations: 35.86 kB / 0.6273 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01241, allocations: 12 kB / 0.6273 GB, free: 3.914 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 9.657e-05/0.01251, allocations: 130.8 kB / 0.6275 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.01257, allocations: 27.81 kB / 0.6275 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.01304, allocations: 299.2 kB / 0.6278 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01304, allocations: 4 kB / 0.6278 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01305, allocations: 3.938 kB / 0.6278 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01305, allocations: 3.984 kB / 0.6278 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.01329, allocations: 236.6 kB / 0.628 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01329, allocations: 4 kB / 0.628 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01342, allocations: 51.95 kB / 0.6281 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01342, allocations: 4 kB / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01343, allocations: 11.92 kB / 0.6281 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01344, allocations: 4 kB / 0.6281 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01344, allocations: 0 / 0.6281 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.0141, allocations: 440.8 kB / 0.6285 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01413, allocations: 27.75 kB / 0.6285 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01415, allocations: 7.938 kB / 0.6285 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.01428, allocations: 23.97 kB / 0.6286 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.01434, allocations: 23.95 kB / 0.6286 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01435, allocations: 12 kB / 0.6286 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001274/0.01448, allocations: 187.1 kB / 0.6288 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01448, allocations: 0 / 0.6288 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000252/0.01473, allocations: 67.83 kB / 0.6288 GB, free: 2.305 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00074/0.01547, allocations: 0.9847 MB / 0.6298 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.01589, allocations: 223.8 kB / 0.63 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.0159, allocations: 4.375 kB / 0.63 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.01608, allocations: 115.8 kB / 0.6301 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.01647, allocations: 71.38 kB / 0.6302 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.01905, allocations: 2.71 MB / 0.6328 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.01914, allocations: 146.9 kB / 0.633 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.01925, allocations: 26.3 kB / 0.633 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.01936, allocations: 88.47 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.01936, allocations: 4 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.04353, allocations: 7.678 MB / 0.6406 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.082, allocations: 9.734 kB / 0.6406 GB, free: 6.348 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.814148570410907] Failed to read output from testmodel.py, exit status != 0: 7.163761434145272 7.173282949 7.165000148 Calling exit ...