Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001279/0.001279, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001356/0.001356, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8415/0.8415, allocations: 133.9 MB / 442.8 MB, free: 11.68 MB / 350.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/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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_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.001847/0.001847, allocations: 69.72 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1645, allocations: 85.85 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003376/0.1679, allocations: 2.14 MB / 0.6994 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1697, allocations: 1.084 MB / 0.7004 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1698, allocations: 7.938 kB / 0.7004 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.1699, allocations: 27.61 kB / 0.7005 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1702, allocations: 83.28 kB / 0.7005 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1706, allocations: 195.5 kB / 0.7007 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.1709, allocations: 294.8 kB / 0.701 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1711, allocations: 48.66 kB / 0.7011 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1712, allocations: 103.6 kB / 0.7012 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1715, allocations: 143.3 kB / 0.7013 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1715, allocations: 20 kB / 0.7013 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.1719, allocations: 295.6 kB / 0.7016 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.172, allocations: 51.77 kB / 0.7016 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1721, allocations: 123.3 kB / 0.7018 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.1725, allocations: 330.6 kB / 0.7021 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1725, allocations: 0 / 0.7021 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1725, allocations: 3.938 kB / 0.7021 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1725, allocations: 0 / 0.7021 GB, free: 14.04 MB / 0.5294 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.001143/0.1737, allocations: 0.6346 MB / 0.7027 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1737, allocations: 9.109 kB / 0.7027 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.1738, allocations: 46.73 kB / 0.7028 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.174, allocations: 36.75 kB / 0.7028 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.1744, allocations: 299.7 kB / 0.7031 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1744, allocations: 12.41 kB / 0.7031 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1744, allocations: 16 kB / 0.7031 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.175, allocations: 224.7 kB / 0.7033 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.175, allocations: 3.938 kB / 0.7033 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.175, allocations: 11.98 kB / 0.7033 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.175, allocations: 4 kB / 0.7033 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.1757, allocations: 195.8 kB / 0.7035 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1769, allocations: 0.9462 MB / 0.7044 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/0.1777, allocations: 233.2 kB / 0.7047 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.178, allocations: 101.6 kB / 0.7048 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1781, allocations: 4 kB / 0.7048 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1781, allocations: 34.56 kB / 0.7048 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1781, allocations: 0 / 0.7048 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001233/0.1793, allocations: 341.5 kB / 0.7051 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1794, allocations: 77.11 kB / 0.7052 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1797, allocations: 263 kB / 0.7054 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1797, allocations: 33.7 kB / 0.7055 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1799, allocations: 164.3 kB / 0.7056 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.1799, allocations: 63.45 kB / 0.7057 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.18, allocations: 41.7 kB / 0.7057 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1802, allocations: 334.8 kB / 0.7061 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.1805, allocations: 91.92 kB / 0.7061 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.1809, allocations: 149.8 kB / 0.7063 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.1816, allocations: 233.8 kB / 0.7065 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1816, allocations: 4 kB / 0.7065 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008408/0.1824, allocations: 289.2 kB / 0.7068 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1825, allocations: 8 kB / 0.7068 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1825, allocations: 0 / 0.7068 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1825, allocations: 4 kB / 0.7068 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.1828, allocations: 59.89 kB / 0.7069 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1828, allocations: 0 / 0.7069 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.183, allocations: 55.86 kB / 0.7069 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.183, allocations: 4 kB / 0.7069 GB, free: 8.75 MB / 0.5294 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.0001201/0.1832, allocations: 133.7 kB / 0.707 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1833, allocations: 27.86 kB / 0.7071 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.1841, allocations: 299 kB / 0.7074 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1841, allocations: 288 / 0.7074 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1842, allocations: 0 / 0.7074 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1842, allocations: 4 kB / 0.7074 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.1845, allocations: 297.4 kB / 0.7076 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1845, allocations: 0 / 0.7076 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.1848, allocations: 59.89 kB / 0.7077 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1848, allocations: 0 / 0.7077 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1848, allocations: 8 kB / 0.7077 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1848, allocations: 4 kB / 0.7077 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1848, allocations: 0 / 0.7077 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.1857, allocations: 444.1 kB / 0.7081 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.1858, allocations: 104.9 kB / 0.7082 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1858, allocations: 8 kB / 0.7082 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.1861, allocations: 31.95 kB / 0.7083 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.1862, allocations: 19.92 kB / 0.7083 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1862, allocations: 4 kB / 0.7083 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1864, allocations: 190 kB / 0.7085 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.7085 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003513/0.1867, allocations: 55.94 kB / 0.7085 GB, free: 6.992 MB / 0.5294 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.001285/0.188, allocations: 0.9871 MB / 0.7095 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007819/0.1888, allocations: 224.4 kB / 0.7097 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1888, allocations: 0 / 0.7097 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1892, allocations: 116.2 kB / 0.7098 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.1897, allocations: 81.47 kB / 0.7099 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.194, allocations: 2.713 MB / 0.7125 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1944, allocations: 0.748 MB / 0.7133 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.1945, allocations: 30.28 kB / 0.7133 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1947, allocations: 87.41 kB / 0.7134 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.1947, allocations: 0 / 0.7134 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2233, allocations: 6.583 MB / 0.7198 GB, free: 11.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.535, allocations: 7.938 kB / 0.7198 GB, free: 11.46 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.152064371010056] Failed to read output from testmodel.py, exit status != 0: 8.60682233699481 8.629863586 8.453018485 Calling exit ...