Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001673/0.001673, allocations: 107.2 kB / 16.4 MB, free: 6.504 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.001168/0.001168, allocations: 196.5 kB / 19.35 MB, free: 3.73 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.312/1.312, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 179] 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 0.9899/0.9899, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] 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.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 71.5 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.176, allocations: 89.52 MB / 0.7353 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003027/0.179, allocations: 1.858 MB / 0.7371 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004137/0.1832, allocations: 3.528 MB / 0.7405 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.1833, allocations: 0 / 0.7405 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.1841, allocations: 187.5 kB / 0.7407 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.1843, allocations: 67.55 kB / 0.7408 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.883e-05/0.1844, allocations: 27.91 kB / 0.7408 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.1848, allocations: 255.1 kB / 0.741 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.185, allocations: 37.55 kB / 0.7411 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1851, allocations: 75.69 kB / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1853, allocations: 75.62 kB / 0.7412 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1853, allocations: 4 kB / 0.7412 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1854, allocations: 27.97 kB / 0.7412 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.1855, allocations: 51.83 kB / 0.7413 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.1856, allocations: 79.48 kB / 0.7414 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1858, allocations: 191 kB / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1858, allocations: 0 / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1859, allocations: 0 / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1859, allocations: 0 / 0.7415 GB, free: 11.75 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.0008712/0.1867, allocations: 0.537 MB / 0.7421 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1868, allocations: 8.031 kB / 0.7421 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.1868, allocations: 38.75 kB / 0.7421 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1869, allocations: 24.8 kB / 0.7421 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1872, allocations: 247.8 kB / 0.7424 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1873, allocations: 3.938 kB / 0.7424 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1873, allocations: 8 kB / 0.7424 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.1877, allocations: 133.6 kB / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1877, allocations: 0 / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1877, allocations: 4 kB / 0.7425 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.1877, allocations: 15.98 kB / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.1882, allocations: 131.9 kB / 0.7427 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.1888, allocations: 452.5 kB / 0.7431 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1893, allocations: 158.5 kB / 0.7432 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1895, allocations: 104.8 kB / 0.7433 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1896, allocations: 8 kB / 0.7433 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1896, allocations: 30.56 kB / 0.7434 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.1896, allocations: 0 / 0.7434 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008373/0.1904, allocations: 289.6 kB / 0.7437 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1905, allocations: 55.34 kB / 0.7437 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1907, allocations: 242.6 kB / 0.7439 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1908, allocations: 25.7 kB / 0.744 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.1909, allocations: 140.1 kB / 0.7441 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.1909, allocations: 47.53 kB / 0.7441 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.191, allocations: 29.7 kB / 0.7442 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1911, allocations: 334.8 kB / 0.7445 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1914, allocations: 75.86 kB / 0.7446 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1916, allocations: 71.19 kB / 0.7446 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.192, allocations: 160.7 kB / 0.7448 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1921, allocations: 0 / 0.7448 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005135/0.1926, allocations: 213.4 kB / 0.745 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1926, allocations: 8 kB / 0.745 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1926, allocations: 0 / 0.745 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1926, allocations: 4 kB / 0.745 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1929, allocations: 35.97 kB / 0.745 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1929, allocations: 3.938 kB / 0.745 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.193, allocations: 15.97 kB / 0.745 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1931, allocations: 4 kB / 0.7451 GB, free: 7.918 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.000126/0.1932, allocations: 145.3 kB / 0.7452 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.1932, allocations: 23.86 kB / 0.7452 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.1933, allocations: 25.83 kB / 0.7452 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1933, allocations: 4 kB / 0.7452 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1933, allocations: 3.938 kB / 0.7452 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1933, allocations: 0 / 0.7452 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1936, allocations: 269.4 kB / 0.7455 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1936, allocations: 4 kB / 0.7455 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1938, allocations: 31.97 kB / 0.7455 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1939, allocations: 4 kB / 0.7455 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1939, allocations: 3.984 kB / 0.7455 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1939, allocations: 0 / 0.7455 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1939, allocations: 7.922 kB / 0.7456 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.1945, allocations: 321.8 kB / 0.7459 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.1946, allocations: 108.9 kB / 0.746 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1946, allocations: 4 kB / 0.746 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1948, allocations: 15.98 kB / 0.746 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1949, allocations: 11.92 kB / 0.746 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1949, allocations: 4 kB / 0.746 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001546/0.195, allocations: 178 kB / 0.7462 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.195, allocations: 0 / 0.7462 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002583/0.1953, allocations: 40 kB / 0.7462 GB, free: 6.645 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.000956/0.1963, allocations: 0.8527 MB / 0.747 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.1968, allocations: 171.8 kB / 0.7472 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1968, allocations: 0 / 0.7472 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.197, allocations: 87.92 kB / 0.7473 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.1975, allocations: 53.91 kB / 0.7473 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.2007, allocations: 2.336 MB / 0.7496 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.2011, allocations: 0.7396 MB / 0.7503 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.2013, allocations: 52.97 kB / 0.7504 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2014, allocations: 55.42 kB / 0.7504 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.2014, allocations: 0 / 0.7504 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.5486, allocations: 4.536 MB / 0.7549 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.381, allocations: 5.969 kB / 0.7549 GB, free: 18.79 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_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_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.984199882019311] Failed to read output from testmodel.py, exit status != 0: 8.45028675510548 8.462298044 8.274192149 Calling exit ...