Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001209/0.001209, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001197/0.001197, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.355/1.355, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.132/1.132, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 70.25 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1823, allocations: 89.52 MB / 0.7353 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003419/0.1858, allocations: 1.873 MB / 0.7371 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.1905, allocations: 3.591 MB / 0.7406 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1907, allocations: 4 kB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.1915, allocations: 187.2 kB / 0.7408 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1918, allocations: 75.53 kB / 0.7408 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 7.614e-05/0.1919, allocations: 31.91 kB / 0.7409 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.1923, allocations: 263.1 kB / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1925, allocations: 33.55 kB / 0.7412 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1926, allocations: 75.69 kB / 0.7412 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1928, allocations: 75.67 kB / 0.7413 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1928, allocations: 8 kB / 0.7413 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.1929, allocations: 31.92 kB / 0.7413 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.193, allocations: 55.81 kB / 0.7414 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1931, allocations: 95.41 kB / 0.7415 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1934, allocations: 187 kB / 0.7417 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1934, allocations: 3.938 kB / 0.7417 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1934, allocations: 0 / 0.7417 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.1934, allocations: 0 / 0.7417 GB, free: 11.61 MB / 0.5762 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.0008917/0.1943, allocations: 0.5409 MB / 0.7422 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1944, allocations: 12.03 kB / 0.7422 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1944, allocations: 38.73 kB / 0.7422 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1945, allocations: 28.75 kB / 0.7423 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1948, allocations: 239.9 kB / 0.7425 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1949, allocations: 19.91 kB / 0.7425 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1949, allocations: 4 kB / 0.7425 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.1952, allocations: 141.5 kB / 0.7427 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1953, allocations: 0 / 0.7427 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1953, allocations: 4 kB / 0.7427 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.1953, allocations: 8 kB / 0.7427 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.1958, allocations: 139.9 kB / 0.7428 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.1965, allocations: 460.5 kB / 0.7432 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.197, allocations: 178.4 kB / 0.7434 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.1972, allocations: 104.8 kB / 0.7435 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1973, allocations: 256 / 0.7435 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1973, allocations: 38.56 kB / 0.7436 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1973, allocations: 0 / 0.7436 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008755/0.1982, allocations: 297.3 kB / 0.7438 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1983, allocations: 59.34 kB / 0.7439 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1985, allocations: 242.7 kB / 0.7441 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1985, allocations: 25.7 kB / 0.7441 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1987, allocations: 140.1 kB / 0.7443 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.1987, allocations: 59.5 kB / 0.7443 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.1988, allocations: 33.7 kB / 0.7444 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1989, allocations: 330.8 kB / 0.7447 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1992, allocations: 71.94 kB / 0.7448 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.1994, allocations: 75.94 kB / 0.7448 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.1999, allocations: 171.5 kB / 0.745 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1999, allocations: 0 / 0.745 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005606/0.2005, allocations: 221.4 kB / 0.7452 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2005, allocations: 8 kB / 0.7452 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2005, allocations: 0 / 0.7452 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2005, allocations: 0 / 0.7452 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.2008, allocations: 31.97 kB / 0.7452 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2008, allocations: 3.938 kB / 0.7452 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.201, allocations: 15.98 kB / 0.7453 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.201, allocations: 11.92 kB / 0.7453 GB, free: 7.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001253/0.2011, allocations: 133.8 kB / 0.7454 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.2012, allocations: 27.81 kB / 0.7454 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.2013, allocations: 33.83 kB / 0.7455 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2013, allocations: 3.938 kB / 0.7455 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2013, allocations: 3.938 kB / 0.7455 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2013, allocations: 0 / 0.7455 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.2016, allocations: 273.5 kB / 0.7457 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2016, allocations: 4 kB / 0.7457 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2018, allocations: 31.97 kB / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2019, allocations: 0 / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2019, allocations: 0 / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2019, allocations: 0 / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.2019, allocations: 11.92 kB / 0.7458 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.2025, allocations: 326.1 kB / 0.7461 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.2027, allocations: 109 kB / 0.7462 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.2027, allocations: 7.984 kB / 0.7462 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2029, allocations: 11.98 kB / 0.7462 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.203, allocations: 15.91 kB / 0.7462 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.203, allocations: 12 kB / 0.7462 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001718/0.2032, allocations: 182 kB / 0.7464 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.843e-06/0.2032, allocations: 0 / 0.7464 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002807/0.2035, allocations: 43.89 kB / 0.7464 GB, free: 6.391 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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.0009989/0.2045, allocations: 0.8606 MB / 0.7473 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.205, allocations: 171.9 kB / 0.7475 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2051, allocations: 4 kB / 0.7475 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.2053, allocations: 95.86 kB / 0.7475 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2058, allocations: 50.84 kB / 0.7476 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.2093, allocations: 2.409 MB / 0.7499 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2097, allocations: 0.7476 MB / 0.7507 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.2099, allocations: 45.39 kB / 0.7507 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.21, allocations: 63.41 kB / 0.7508 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.21, allocations: 0 / 0.7508 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3457/0.5557, allocations: 4.833 MB / 0.7555 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.596, allocations: 4.312 kB / 0.7555 GB, free: 19.11 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.433191080810502] Failed to read output from testmodel.py, exit status != 0: 8.664449378149584 8.682545356 8.485616507 Calling exit ...