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.001139/0.001139, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009607/0.0009607, allocations: 217.7 kB / 22.25 MB, free: 3.707 MB / 13.93 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.927/0.927, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.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.7821/0.7821, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS 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.0009401/0.0009401, allocations: 65.42 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5053, allocations: 102 MB / 0.8179 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002432/0.5077, allocations: 2.157 MB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.509, allocations: 1.11 MB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.5091, allocations: 3.938 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.5092, allocations: 24.61 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.5095, allocations: 81.06 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.5098, allocations: 197.4 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.5101, allocations: 302.3 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.5103, allocations: 42.48 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.5104, allocations: 111.3 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.5106, allocations: 140.3 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.5106, allocations: 17.62 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.511, allocations: 300.5 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.511, allocations: 49.22 kB / 0.8223 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.5111, allocations: 117.6 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.5116, allocations: 337.4 kB / 0.8227 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.5116, allocations: 4 kB / 0.8227 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5116, allocations: 0 / 0.8227 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.5116, allocations: 1.062 kB / 0.8227 GB, free: 14.04 MB / 0.6198 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.0007672/0.5124, allocations: 0.5548 MB / 0.8233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5124, allocations: 8.375 kB / 0.8233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.5125, allocations: 46.75 kB / 0.8233 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.5126, allocations: 38.31 kB / 0.8233 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5129, allocations: 231.4 kB / 0.8236 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5129, allocations: 11 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.5129, allocations: 18.19 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.5133, allocations: 232.6 kB / 0.8238 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5133, allocations: 0 / 0.8238 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5133, allocations: 6.594 kB / 0.8238 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5133, allocations: 3.531 kB / 0.8238 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.5137, allocations: 203 kB / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/0.5145, allocations: 0.902 MB / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.515, allocations: 231.2 kB / 0.8251 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5151, allocations: 109.4 kB / 0.8252 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5152, allocations: 1.781 kB / 0.8252 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5152, allocations: 32.52 kB / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.5152, allocations: 0 / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006794/0.5159, allocations: 340.5 kB / 0.8256 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.5159, allocations: 84.42 kB / 0.8257 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.5161, allocations: 266.2 kB / 0.8259 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5161, allocations: 27.33 kB / 0.8259 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.5162, allocations: 162.1 kB / 0.8261 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5162, allocations: 71.28 kB / 0.8262 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.5163, allocations: 43.09 kB / 0.8262 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.5164, allocations: 337.6 kB / 0.8265 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5166, allocations: 92.33 kB / 0.8266 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5168, allocations: 143.4 kB / 0.8267 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.5171, allocations: 243.9 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5171, allocations: 5.406 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004664/0.5176, allocations: 287.3 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5176, allocations: 8.219 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5176, allocations: 2.188 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5176, allocations: 2.594 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5178, allocations: 66.28 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5178, allocations: 2.438 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.5179, allocations: 42.64 kB / 0.8274 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5179, allocations: 10.47 kB / 0.8274 GB, free: 10.94 MB / 0.6198 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 8.299e-05/0.518, allocations: 132.3 kB / 0.8275 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.5181, allocations: 28.45 kB / 0.8275 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.5186, allocations: 294.9 kB / 0.8278 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5186, allocations: 3.562 kB / 0.8278 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5186, allocations: 0 / 0.8278 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5186, allocations: 6.891 kB / 0.8278 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.5189, allocations: 268.8 kB / 0.8281 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5189, allocations: 1.875 kB / 0.8281 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.519, allocations: 54.41 kB / 0.8281 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.519, allocations: 1.734 kB / 0.8281 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.519, allocations: 5.406 kB / 0.8282 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.519, allocations: 2.156 kB / 0.8282 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.519, allocations: 1.625 kB / 0.8282 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.5195, allocations: 446.8 kB / 0.8286 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5195, allocations: 40.59 kB / 0.8286 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.5196, allocations: 2.297 kB / 0.8286 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.5197, allocations: 31.5 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.5198, allocations: 19.06 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5198, allocations: 3.594 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001351/0.5199, allocations: 192.3 kB / 0.8289 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5199, allocations: 0 / 0.8289 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002417/0.5201, allocations: 59.02 kB / 0.8289 GB, free: 10.01 MB / 0.6198 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.0007446/0.5209, allocations: 0.9917 MB / 0.8299 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.5213, allocations: 219.3 kB / 0.8301 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5213, allocations: 0 / 0.8301 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.5215, allocations: 110.7 kB / 0.8302 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.5219, allocations: 88.5 kB / 0.8303 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.525, allocations: 2.711 MB / 0.8329 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5253, allocations: 0.7505 MB / 0.8337 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.5254, allocations: 30.02 kB / 0.8337 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.5256, allocations: 85.91 kB / 0.8338 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of SimCode: time 6.12e-07/0.5256, allocations: 0 / 0.8338 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.5468, allocations: 6.793 MB / 0.8404 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.429, allocations: 22.47 kB / 0.8404 GB, free: 4.262 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.404472196940333] Failed to read output from testmodel.py, exit status != 0: 7.511372282169759 7.5267624810000004 7.012870879 Calling exit ...