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.001467/0.001467, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00166/0.00166, allocations: 217 kB / 22.25 MB, free: 5.082 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 8.023 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.834/0.834, allocations: 134 MB / 446.4 MB, free: 10.27 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.002014/0.002014, allocations: 66.77 kB / 0.6186 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.192, allocations: 85.91 MB / 0.7025 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.005208/0.1972, allocations: 2.161 MB / 0.7046 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.2002, allocations: 1.08 MB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.2004, allocations: 11.88 kB / 0.7056 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2005, allocations: 23.67 kB / 0.7057 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.2011, allocations: 79.28 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.2018, allocations: 199.4 kB / 0.7059 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.2024, allocations: 294.8 kB / 0.7062 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2026, allocations: 48.91 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2029, allocations: 107.6 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.2033, allocations: 147.3 kB / 0.7065 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.2033, allocations: 20 kB / 0.7065 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.204, allocations: 295.7 kB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.2041, allocations: 59.7 kB / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.2043, allocations: 115.3 kB / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.2049, allocations: 334.6 kB / 0.7073 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2049, allocations: 0 / 0.7073 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2049, allocations: 0 / 0.7073 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.205, allocations: 0 / 0.7073 GB, free: 12.46 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.001518/0.2065, allocations: 0.5553 MB / 0.7078 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.2065, allocations: 12.03 kB / 0.7078 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/0.2066, allocations: 50.67 kB / 0.7079 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.2069, allocations: 40.75 kB / 0.7079 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.2075, allocations: 229.4 kB / 0.7081 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2076, allocations: 16.41 kB / 0.7082 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.2076, allocations: 15.94 kB / 0.7082 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.2083, allocations: 220.7 kB / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2084, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.2084, allocations: 8 kB / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2084, allocations: 4 kB / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.2093, allocations: 199.7 kB / 0.7086 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2111, allocations: 0.9142 MB / 0.7095 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2122, allocations: 225.2 kB / 0.7097 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.2126, allocations: 109.6 kB / 0.7098 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2127, allocations: 4 kB / 0.7098 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2127, allocations: 30.56 kB / 0.7098 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.2127, allocations: 0 / 0.7098 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001633/0.2143, allocations: 337.5 kB / 0.7101 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.2144, allocations: 93.09 kB / 0.7102 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.2148, allocations: 260.2 kB / 0.7105 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2148, allocations: 29.7 kB / 0.7105 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.215, allocations: 164.2 kB / 0.7107 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.2151, allocations: 55.55 kB / 0.7107 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2152, allocations: 41.7 kB / 0.7108 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2154, allocations: 338.8 kB / 0.7111 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.2158, allocations: 91.92 kB / 0.7112 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.2163, allocations: 145.2 kB / 0.7113 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.2173, allocations: 249.7 kB / 0.7115 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2173, allocations: 0 / 0.7115 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00125/0.2185, allocations: 289.2 kB / 0.7118 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2185, allocations: 8 kB / 0.7118 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2185, allocations: 0 / 0.7118 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2186, allocations: 4 kB / 0.7118 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2189, allocations: 64.05 kB / 0.7119 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2189, allocations: 7.984 kB / 0.7119 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.2191, allocations: 47.75 kB / 0.712 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2191, allocations: 4 kB / 0.712 GB, free: 7.379 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.0001362/0.2193, allocations: 139.8 kB / 0.7121 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2194, allocations: 27.86 kB / 0.7121 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.2205, allocations: 299.1 kB / 0.7124 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2205, allocations: 0 / 0.7124 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2205, allocations: 0 / 0.7124 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.2205, allocations: 7.984 kB / 0.7124 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.2211, allocations: 264.5 kB / 0.7127 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2211, allocations: 0 / 0.7127 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.2215, allocations: 55.95 kB / 0.7127 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2215, allocations: 288 / 0.7127 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2215, allocations: 4 kB / 0.7127 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2215, allocations: 4.703 kB / 0.7127 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2215, allocations: 7.875 kB / 0.7127 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.2228, allocations: 446.3 kB / 0.7132 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.2229, allocations: 23.81 kB / 0.7132 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.223, allocations: 12 kB / 0.7132 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.2234, allocations: 27.95 kB / 0.7132 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.2235, allocations: 19.97 kB / 0.7132 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2235, allocations: 4 kB / 0.7132 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002819/0.2238, allocations: 191.1 kB / 0.7134 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2238, allocations: 0 / 0.7134 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005701/0.2244, allocations: 55.94 kB / 0.7135 GB, free: 5.746 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.001852/0.2262, allocations: 0.9987 MB / 0.7144 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.2273, allocations: 219.9 kB / 0.7147 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2273, allocations: 0 / 0.7147 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.2278, allocations: 111.8 kB / 0.7148 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.2287, allocations: 74.95 kB / 0.7148 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.235, allocations: 2.712 MB / 0.7175 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.2356, allocations: 0.748 MB / 0.7182 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000209/0.2358, allocations: 34.3 kB / 0.7182 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.236, allocations: 83.41 kB / 0.7183 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of SimCode: time 1.442e-06/0.236, allocations: 0 / 0.7183 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.2809, allocations: 6.774 MB / 0.7249 GB, free: 10.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.35, allocations: 17.08 kB / 0.725 GB, free: 10.01 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.810889802873135] Failed to read output from testmodel.py, exit status != 0: 11.45150696998462 11.479616642 11.2698211 Calling exit ...