Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.83/0.83, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 75.77 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3883, allocations: 83.44 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002763/0.3911, allocations: 2.134 MB / 0.6823 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3925, allocations: 1.046 MB / 0.6833 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3926, allocations: 7.094 kB / 0.6833 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.3927, allocations: 23.67 kB / 0.6833 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3929, allocations: 82.5 kB / 0.6834 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.3933, allocations: 193.2 kB / 0.6836 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.3935, allocations: 288.8 kB / 0.6839 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3937, allocations: 52.27 kB / 0.6839 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3938, allocations: 108.7 kB / 0.684 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.394, allocations: 146.7 kB / 0.6842 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.394, allocations: 18.25 kB / 0.6842 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.3944, allocations: 290.8 kB / 0.6844 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.3944, allocations: 49.27 kB / 0.6845 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.3945, allocations: 117.1 kB / 0.6846 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3948, allocations: 338.9 kB / 0.6849 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3948, allocations: 1.344 kB / 0.6849 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3948, allocations: 0 / 0.6849 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.3948, allocations: 0 / 0.6849 GB, free: 2.355 MB / 0.4981 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.0009271/0.3958, allocations: 0.6391 MB / 0.6856 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3958, allocations: 14.03 kB / 0.6856 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.3958, allocations: 46.52 kB / 0.6856 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.396, allocations: 36.56 kB / 0.6856 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3964, allocations: 285.8 kB / 0.6859 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3964, allocations: 19.19 kB / 0.6859 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3964, allocations: 13 kB / 0.686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.3968, allocations: 237.3 kB / 0.6862 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3969, allocations: 3.938 kB / 0.6862 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3969, allocations: 9.344 kB / 0.6862 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3969, allocations: 5.062 kB / 0.6862 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.3975, allocations: 193.6 kB / 0.6864 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.3984, allocations: 0.9486 MB / 0.6873 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.399, allocations: 235.1 kB / 0.6875 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.3993, allocations: 98.05 kB / 0.6876 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3993, allocations: 2.188 kB / 0.6876 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3994, allocations: 36.53 kB / 0.6877 GB, free: 16 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3994, allocations: 0 / 0.6877 GB, free: 16 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001108/0.4005, allocations: 343.2 kB / 0.688 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.4005, allocations: 78.36 kB / 0.6881 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.4008, allocations: 271.1 kB / 0.6883 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4008, allocations: 26.83 kB / 0.6883 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.401, allocations: 157.5 kB / 0.6885 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.401, allocations: 61.08 kB / 0.6886 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.4011, allocations: 44.36 kB / 0.6886 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4013, allocations: 341.3 kB / 0.6889 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.4016, allocations: 89.09 kB / 0.689 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.4019, allocations: 142.5 kB / 0.6891 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.4025, allocations: 243.8 kB / 0.6894 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4025, allocations: 4 kB / 0.6894 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007865/0.4033, allocations: 289.9 kB / 0.6897 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4033, allocations: 4.938 kB / 0.6897 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4033, allocations: 2.188 kB / 0.6897 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4033, allocations: 7.469 kB / 0.6897 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.4036, allocations: 70.03 kB / 0.6897 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4036, allocations: 2.906 kB / 0.6897 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4039, allocations: 33.3 kB / 0.6898 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4039, allocations: 14.7 kB / 0.6898 GB, free: 14.46 MB / 0.5137 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 0.0001488/0.404, allocations: 138.7 kB / 0.6899 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4041, allocations: 28.25 kB / 0.6899 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.4049, allocations: 291.4 kB / 0.6902 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.4049, allocations: 2.344 kB / 0.6902 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4049, allocations: 1.094 kB / 0.6902 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4049, allocations: 0 / 0.6902 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.4054, allocations: 301.7 kB / 0.6905 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4054, allocations: 1.125 kB / 0.6905 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.4056, allocations: 58.73 kB / 0.6906 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4056, allocations: 5.453 kB / 0.6906 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.4056, allocations: 5.75 kB / 0.6906 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4056, allocations: 1.734 kB / 0.6906 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4056, allocations: 3.984 kB / 0.6906 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.4065, allocations: 448.3 kB / 0.691 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4066, allocations: 104 kB / 0.6911 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.4066, allocations: 1.062 kB / 0.6911 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.4069, allocations: 30.03 kB / 0.6911 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.4069, allocations: 19.72 kB / 0.6912 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4069, allocations: 8.375 kB / 0.6912 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001927/0.4071, allocations: 191.2 kB / 0.6914 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4071, allocations: 0 / 0.6914 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003675/0.4075, allocations: 58.45 kB / 0.6914 GB, free: 13.2 MB / 0.5137 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.001226/0.4087, allocations: 0.9903 MB / 0.6924 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.4094, allocations: 224.3 kB / 0.6926 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4094, allocations: 1.062 kB / 0.6926 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4097, allocations: 109.8 kB / 0.6927 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.4103, allocations: 77.59 kB / 0.6928 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.4144, allocations: 2.72 MB / 0.6954 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4148, allocations: 0.7466 MB / 0.6962 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.415, allocations: 28.58 kB / 0.6962 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4151, allocations: 86.06 kB / 0.6963 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.4151, allocations: 0 / 0.6963 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.4464, allocations: 6.592 MB / 0.7027 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.732, allocations: 4.031 kB / 0.7027 GB, free: 5.992 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.06226099608466] Failed to read output from testmodel.py, exit status != 0: 8.806282652076334 8.830756658 8.431186578 Calling exit ...