Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001657/0.001657, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001973/0.001973, allocations: 219 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 62.5 kB / 1.171 GB, free: 19.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.294, allocations: 179 MB / 1.345 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006009/0.3, allocations: 4.414 MB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.301, allocations: 0.7594 MB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.3011, allocations: 0 / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.3013, allocations: 31.77 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.3013, allocations: 39.7 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.3018, allocations: 167.3 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.302, allocations: 179.4 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.3021, allocations: 21.34 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3023, allocations: 79.75 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3024, allocations: 83.67 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3024, allocations: 16 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.3027, allocations: 139.8 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.3027, allocations: 31.91 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.3028, allocations: 55.78 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3031, allocations: 243.1 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3031, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3031, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3032, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008571/0.304, allocations: 417.3 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.304, allocations: 8.031 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.195e-05/0.3041, allocations: 192 / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.3041, allocations: 42.73 kB / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.3041, allocations: 16.84 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3043, allocations: 127.1 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3043, allocations: 12 kB / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3043, allocations: 12 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3046, allocations: 119.6 kB / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3046, allocations: 0 / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3047, allocations: 4 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3047, allocations: 0 / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.3051, allocations: 147.9 kB / 1.352 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.306, allocations: 411.5 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3063, allocations: 122.5 kB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3065, allocations: 60.81 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.3076, allocations: 480 kB / 1.353 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3077, allocations: 34.5 kB / 1.353 GB, free: 7.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.3077, allocations: 0 / 1.353 GB, free: 7.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0006693/0.3083, allocations: 217.3 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3084, allocations: 59.34 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3085, allocations: 161.2 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3086, allocations: 29.7 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3087, allocations: 112.4 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3087, allocations: 35.69 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3088, allocations: 53.69 kB / 1.354 GB, free: 6.707 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3089, allocations: 322.8 kB / 1.354 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3091, allocations: 75.95 kB / 1.354 GB, free: 6.309 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3094, allocations: 115.2 kB / 1.354 GB, free: 6.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3098, allocations: 177.5 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3098, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005834/0.3104, allocations: 251.4 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3104, allocations: 8 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3104, allocations: 0 / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3105, allocations: 3.984 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.3108, allocations: 64.05 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3108, allocations: 3.938 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3109, allocations: 31.83 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.3109, allocations: 12 kB / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 0.0001031/0.3111, allocations: 121.8 kB / 1.355 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3111, allocations: 15.84 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.3116, allocations: 178.9 kB / 1.355 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3116, allocations: 0 / 1.355 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3116, allocations: 0 / 1.355 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3116, allocations: 3.938 kB / 1.355 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3118, allocations: 176.6 kB / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3118, allocations: 0 / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.312, allocations: 31.97 kB / 1.355 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.312, allocations: 0 / 1.355 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.312, allocations: 8 kB / 1.355 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.312, allocations: 0 / 1.355 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.312, allocations: 0 / 1.355 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.3124, allocations: 259.2 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3125, allocations: 35.81 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3125, allocations: 0 / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3126, allocations: 11.98 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3127, allocations: 15.98 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3127, allocations: 0 / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.3128, allocations: 128.1 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3128, allocations: 0 / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003199/0.3131, allocations: 59.86 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0009297/0.314, allocations: 0.8371 MB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.3145, allocations: 168.6 kB / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3145, allocations: 0 / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3147, allocations: 63.89 kB / 1.357 GB, free: 3.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3151, allocations: 20.95 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.3177, allocations: 1.954 MB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.062e-05/0.3178, allocations: 93.61 kB / 1.359 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.775e-05/0.3179, allocations: 25.02 kB / 1.359 GB, free: 1.234 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.318, allocations: 39.42 kB / 1.359 GB, free: 1.195 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.318, allocations: 0 / 1.359 GB, free: 1.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3427, allocations: 4.589 MB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.97, allocations: 16.17 kB / 1.364 GB, free: 12.77 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.066813337034546] Failed to read output from testmodel.py, exit status != 0: 11.122305380995385 11.137150071 10.831208289 Calling exit ...