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.001252/0.001252, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001424/0.001424, allocations: 216.8 kB / 22.25 MB, free: 5.258 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.789 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.8225/0.8225, allocations: 134 MB / 446.4 MB, free: 9.941 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.002054/0.002054, allocations: 71.33 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1677, allocations: 85.9 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003525/0.1712, allocations: 2.032 MB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1729, allocations: 0.9981 MB / 0.7053 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.173, allocations: 7.875 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.1731, allocations: 27.73 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1734, allocations: 87.2 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1738, allocations: 191.5 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.1741, allocations: 298.7 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1743, allocations: 48.84 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1744, allocations: 115.5 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1746, allocations: 119.5 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1746, allocations: 20 kB / 0.7062 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.175, allocations: 283.6 kB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.1751, allocations: 43.84 kB / 0.7065 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.552e-05/0.1752, allocations: 111.4 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1756, allocations: 330.6 kB / 0.707 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1756, allocations: 4 kB / 0.707 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1756, allocations: 0 / 0.707 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.1756, allocations: 0 / 0.707 GB, free: 12.34 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.00106/0.1767, allocations: 0.5554 MB / 0.7075 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1767, allocations: 12.03 kB / 0.7075 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1768, allocations: 46.73 kB / 0.7076 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.177, allocations: 40.75 kB / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.1774, allocations: 229.4 kB / 0.7078 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1774, allocations: 16.41 kB / 0.7078 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1774, allocations: 16 kB / 0.7078 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.1779, allocations: 228.6 kB / 0.7081 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1779, allocations: 0 / 0.7081 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.178, allocations: 4 kB / 0.7081 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.178, allocations: 8 kB / 0.7081 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.1786, allocations: 199.7 kB / 0.7083 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1797, allocations: 0.8752 MB / 0.7091 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.1805, allocations: 233.2 kB / 0.7093 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.1808, allocations: 101.6 kB / 0.7094 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1808, allocations: 4 kB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1808, allocations: 38.5 kB / 0.7095 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1808, allocations: 0 / 0.7095 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001127/0.182, allocations: 341.5 kB / 0.7098 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.182, allocations: 77.11 kB / 0.7099 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1823, allocations: 268.2 kB / 0.7101 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1823, allocations: 33.7 kB / 0.7102 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1824, allocations: 164.2 kB / 0.7103 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1825, allocations: 55.53 kB / 0.7104 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.1826, allocations: 41.7 kB / 0.7104 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1827, allocations: 342.8 kB / 0.7107 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.183, allocations: 83.92 kB / 0.7108 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1834, allocations: 152.9 kB / 0.711 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.184, allocations: 241.7 kB / 0.7112 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.184, allocations: 4 kB / 0.7112 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008178/0.1849, allocations: 293.2 kB / 0.7115 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1849, allocations: 8 kB / 0.7115 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1849, allocations: 0 / 0.7115 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1849, allocations: 4 kB / 0.7115 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.1852, allocations: 59.89 kB / 0.7116 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1852, allocations: 4.109 kB / 0.7116 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1854, allocations: 47.8 kB / 0.7116 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1854, allocations: 8 kB / 0.7116 GB, free: 7.285 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.0001241/0.1856, allocations: 137.7 kB / 0.7117 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1857, allocations: 27.81 kB / 0.7118 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.1865, allocations: 291.1 kB / 0.712 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1865, allocations: 4 kB / 0.7121 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1865, allocations: 0 / 0.7121 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1865, allocations: 3.984 kB / 0.7121 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.1868, allocations: 240.5 kB / 0.7123 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1868, allocations: 288 / 0.7123 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1871, allocations: 59.95 kB / 0.7123 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1871, allocations: 0 / 0.7123 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1871, allocations: 7.938 kB / 0.7123 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1871, allocations: 0 / 0.7123 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1871, allocations: 0 / 0.7123 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.1879, allocations: 450.3 kB / 0.7128 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.188, allocations: 27.75 kB / 0.7128 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.188, allocations: 4 kB / 0.7128 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1883, allocations: 23.97 kB / 0.7128 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.1883, allocations: 19.95 kB / 0.7129 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1883, allocations: 12 kB / 0.7129 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001818/0.1885, allocations: 191.1 kB / 0.713 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1885, allocations: 4 kB / 0.713 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003389/0.1889, allocations: 51.94 kB / 0.7131 GB, free: 5.684 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.001192/0.1901, allocations: 0.9983 MB / 0.7141 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007174/0.1908, allocations: 216.4 kB / 0.7143 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1908, allocations: 320 / 0.7143 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.1911, allocations: 119.8 kB / 0.7144 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.1916, allocations: 70.56 kB / 0.7145 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.1956, allocations: 2.712 MB / 0.7171 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.1958, allocations: 142.9 kB / 0.7172 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000152/0.1959, allocations: 26.28 kB / 0.7173 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1961, allocations: 87.41 kB / 0.7174 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.1961, allocations: 0 / 0.7174 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.2304, allocations: 7.564 MB / 0.7247 GB, free: 9.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 5.875 kB / 0.7247 GB, free: 9.836 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 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: 14.702652459032834] Failed to read output from testmodel.py, exit status != 0: 11.30825713230297 11.333877089 11.153551927 Calling exit ...